gm api通信
Some checks failed
test / Run tests (push) Failing after 9s
build / Build (push) Failing after 16s

This commit is contained in:
2025-01-26 15:39:14 +08:00
parent 415f00a3d1
commit 9f8f7c8347
29 changed files with 1941 additions and 112 deletions

View File

@@ -107,7 +107,7 @@ export class Runtime {
// 暂未实现执行完成后立马释放,会在下一次执行时释放
await this.stopScript(script.uuid);
}
const exec = new BgExecScriptWarp(script);
const exec = new BgExecScriptWarp(script, this.windowMessage);
this.execScripts.set(script.uuid, exec);
proxyUpdateRunStatus(this.windowMessage, { uuid: script.uuid, runStatus: SCRIPT_RUN_STATUS_RUNNING });
// 修改掉脚本掉最后运行时间, 数据库也需要修改