update: 添加workBench启动脚本

This commit is contained in:
2024-11-18 00:49:43 +08:00
parent f94be80552
commit a6e5a5c570
2 changed files with 17 additions and 1 deletions

View File

@@ -0,0 +1,15 @@
@echo off
@REM 无需理会
set "modpath=%1"
@REM 修改这里的路径, 会将这里的路径映射到P盘
set "PdirPath=E:\WorkSpace\DayZData"
if exist P:\ (
echo Drive P: is already mapped.
) else (
subst P: "%PdirPath%"
echo Drive P: mapped to %PdirPath%
)
@rem这里需要设置workbenchApp所在目录
start /d "E:\SteamLibrary\steamapps\common\DayZ Tools\Bin\Workbench" workbenchApp.exe "-mod=%modpath%"

View File

@@ -8,4 +8,5 @@
| ---- | ---- |
| DayZServerStart | DayZ开服脚本 |
| PlayerDataReturnGear | 单玩家数据回档 |
| DayZBoot | 玩家端 启动游戏 直连脚本 |
| DayZBoot | 玩家端 启动游戏 直连脚本 |
| BootWorkBench | 自动挂载P盘,并启动WorkBench |