1
1
mirror of https://github.com/KenanZhu/AutoLibrary.git synced 2026-06-18 07:23:03 +08:00

refactor(gui): 编排窗口迁移至新包并移除旧的预览/编排对话框

This commit is contained in:
2026-05-18 11:15:35 +08:00
parent 33c0f4414c
commit 6cf182c8c8
12 changed files with 2468 additions and 1122 deletions
+3 -2
View File
@@ -18,7 +18,7 @@ from PySide6.QtCore import (
from base.MsgBase import MsgBase
from operators.AutoLib import AutoLib
from utils.JSONReader import JSONReader
from dsl.AutoScriptEngine import AutoScriptEngine
from autoscript import execute, registerDefaultTargetVars
class AutoLibWorker(MsgBase, QThread):
@@ -225,7 +225,8 @@ class TimerTaskWorker(AutoLibWorker):
continue
for user in group.get("users", []):
try:
AutoScriptEngine.execute(auto_script, user)
registerDefaultTargetVars()
execute(auto_script, user)
affected_count += 1
except ValueError as e:
self._showTrace(