1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 00:28:20 +08:00

Opt: LaunchPath insted of CmdLine

This commit is contained in:
hgjazhgj
2023-05-27 21:22:33 +08:00
parent 742e34c8d0
commit b4af10b56b
12 changed files with 88 additions and 25 deletions

View File

@@ -6,10 +6,9 @@
"value": "127.0.0.1:5555",
"valuetype": "str"
},
"Cmdline": {
"LaunchPath": {
"type": "textarea",
"value": "python3 fgo.py cli --no-color",
"mode": "shell"
"value": "/absolute_path_to_FGO-py/deploy/Alas"
}
},
"Emulator": {

View File

@@ -37,10 +37,9 @@ FpyEmulator:
Serial:
value: 127.0.0.1:5555
valuetype: str
Cmdline:
value: python3 fgo.py cli --no-color
LaunchPath:
value: /absolute_path_to_FGO-py/deploy/Alas
type: textarea
mode: shell
Interval:
Interval:

View File

@@ -29,7 +29,7 @@ class GeneratedConfig:
# Group `FpyEmulator`
FpyEmulator_Serial = '127.0.0.1:5555'
FpyEmulator_Cmdline = 'python3 fgo.py cli --no-color'
FpyEmulator_LaunchPath = '/absolute_path_to_FGO-py/deploy/Alas'
# Group `Interval`
Interval_Interval = '07:00'

View File

@@ -124,9 +124,9 @@
"name": "FpyEmulator.Serial.name",
"help": "FpyEmulator.Serial.help"
},
"Cmdline": {
"name": "FpyEmulator.Cmdline.name",
"help": "FpyEmulator.Cmdline.help"
"LaunchPath": {
"name": "FpyEmulator.LaunchPath.name",
"help": "FpyEmulator.LaunchPath.help"
}
},
"Interval": {

View File

@@ -124,9 +124,9 @@
"name": "FpyEmulator.Serial.name",
"help": "FpyEmulator.Serial.help"
},
"Cmdline": {
"name": "FpyEmulator.Cmdline.name",
"help": "FpyEmulator.Cmdline.help"
"LaunchPath": {
"name": "FpyEmulator.LaunchPath.name",
"help": "FpyEmulator.LaunchPath.help"
}
},
"Interval": {

View File

@@ -124,9 +124,9 @@
"name": "模拟器 Serial",
"help": "等效于在「连接到设备」对话框中输入的值\n可以在Alas本体的这个选项中找到常用模拟器的Serial其他内容记载于FGO-py readme的「连接到设备」章节中"
},
"Cmdline": {
"name": "命令行",
"help": "使用此命令创建运行FGO-py的进程\n示例1\npython D:/FGO-py/FGO-py/fgo.py cli --no-color\n示例2\nssh hgjazhgj@raspberrypi -o StrictHostKeyChecking=no \"sudo docker run -v ~/hgjazhgj/FGO-py/FGO-py:/FGO-py --name fgo-py -e NO_COLOR=1 -i --rm hgjazhgj/fgo-py\""
"LaunchPath": {
"name": "启动路径",
"help": "FGO-py的deploy目录下Alas子目录的路径\n你可以把Alas子目录拷贝至其他位置方便分布式部署"
}
},
"Interval": {

View File

@@ -124,9 +124,9 @@
"name": "FpyEmulator.Serial.name",
"help": "FpyEmulator.Serial.help"
},
"Cmdline": {
"name": "FpyEmulator.Cmdline.name",
"help": "FpyEmulator.Cmdline.help"
"LaunchPath": {
"name": "FpyEmulator.LaunchPath.name",
"help": "FpyEmulator.LaunchPath.help"
}
},
"Interval": {