diff --git a/.gitignore b/.gitignore index 6aaf3fe..1690114 100644 --- a/.gitignore +++ b/.gitignore @@ -9,4 +9,7 @@ pal.exe .verysync # ignore dist -webui/dist/ \ No newline at end of file +webui/dist/ + +# other +.idea \ No newline at end of file diff --git a/config/config.go b/config/config.go index e6dbbf4..b50ea50 100644 --- a/config/config.go +++ b/config/config.go @@ -25,6 +25,8 @@ type PlayerW struct { } type Config struct { + GameService bool `json:"gameService"` // 游戏以服务方式启动 + GameServiceName string `json:"gameServiceName"` // 游戏服务名称 GamePath string `json:"gamePath"` // 游戏可执行文件路径PalServer.exe所处的位置 GameSavePath string `json:"gameSavePath"` // 游戏存档路径 \PalServer\Pal\Saved\文件夹的完整路径 BackupPath string `json:"backupPath"` // 备份路径 diff --git a/front/palworld-front/src/pages/IndexView.vue b/front/palworld-front/src/pages/IndexView.vue index 906f0e6..f0bb14c 100644 --- a/front/palworld-front/src/pages/IndexView.vue +++ b/front/palworld-front/src/pages/IndexView.vue @@ -53,12 +53,23 @@ label="自动注入UE4SS和可输入命令控制台DLL" class="q-my-md" /> + +