no message

This commit is contained in:
小帅 2026-04-02 23:54:56 +08:00
parent c7be353ef9
commit 4e82791ea6

View File

@ -240,6 +240,11 @@ app.whenReady().then(async () => {
closeServeFn = mod.closeServe;
const port = await mod.default(true);
process.env.PORT = port;
await new Promise<void>((resolve, reject) => {
setTimeout(() => {
resolve();
}, 2000);
});
// 注册协议处理器
protocol.handle("toonflow", (request) => {
const url = new URL(request.url);