mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-16 05:47:23 +08:00
Add: auto-run config in deploy
Auto-run specified config when startup
This commit is contained in:
@@ -1197,7 +1197,12 @@ def app():
|
||||
key = args.key or State.deploy_config.Password
|
||||
cdn = args.cdn if args.cdn else State.deploy_config.CDN
|
||||
State.electron = args.electron
|
||||
instances: List[str] = args.run
|
||||
runs = None
|
||||
if args.run:
|
||||
runs = args.run
|
||||
elif State.deploy_config.RUN:
|
||||
runs = [State.deploy_config.RUN]
|
||||
instances: List[str] = runs
|
||||
|
||||
logger.hr("Webui configs")
|
||||
logger.attr("Theme", State.deploy_config.Theme)
|
||||
|
||||
Reference in New Issue
Block a user