no message
This commit is contained in:
parent
c7be353ef9
commit
4e82791ea6
@ -240,6 +240,11 @@ app.whenReady().then(async () => {
|
|||||||
closeServeFn = mod.closeServe;
|
closeServeFn = mod.closeServe;
|
||||||
const port = await mod.default(true);
|
const port = await mod.default(true);
|
||||||
process.env.PORT = port;
|
process.env.PORT = port;
|
||||||
|
await new Promise<void>((resolve, reject) => {
|
||||||
|
setTimeout(() => {
|
||||||
|
resolve();
|
||||||
|
}, 2000);
|
||||||
|
});
|
||||||
// 注册协议处理器
|
// 注册协议处理器
|
||||||
protocol.handle("toonflow", (request) => {
|
protocol.handle("toonflow", (request) => {
|
||||||
const url = new URL(request.url);
|
const url = new URL(request.url);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user