feat: 一键安装支持自选游戏目录
Axolotl desktop CI / guardrails (push) Has been cancelled
Axolotl desktop CI / desktop (macos-latest) (push) Has been cancelled
Axolotl desktop CI / desktop (ubuntu-latest) (push) Has been cancelled
Axolotl desktop CI / desktop (windows-latest) (push) Has been cancelled
Axolotl desktop CI / website (push) Has been cancelled
Repository checks / typos (push) Has been cancelled
Repository checks / tombi (push) Has been cancelled
Rust checks / shear (push) Has been cancelled
Sync source to CNB / Sync Git ref (push) Has been cancelled
Axolotl desktop CI / guardrails (push) Has been cancelled
Axolotl desktop CI / desktop (macos-latest) (push) Has been cancelled
Axolotl desktop CI / desktop (ubuntu-latest) (push) Has been cancelled
Axolotl desktop CI / desktop (windows-latest) (push) Has been cancelled
Axolotl desktop CI / website (push) Has been cancelled
Repository checks / typos (push) Has been cancelled
Repository checks / tombi (push) Has been cancelled
Rust checks / shear (push) Has been cancelled
Sync source to CNB / Sync Git ref (push) Has been cancelled
StarLight 实例一键安装此前固定落到启动器默认目录,无法选择游戏数据位置。 现复用创建流程的外部游戏目录能力:点击一键安装后弹出目录选择框, 只允许修改游戏目录,其余参数仍由服务器整合包决定。 - hosted::create 接受 game_dir_root,拼为 <root>/<包名> 作为 game_dir_override (刻意避开 versions/ 布局,该结构被外部直链实例检测占用) - 新增顶层命令 get_launcher_root_dir,作为弹窗默认值(可执行文件所在目录) - 新增 HostedGameDirModal 弹窗:只读路径框 + 浏览 + 默认位置 + 安装预览 - 补齐 en-US / zh-CN / zh-TW 三语文案 hosted_create 增加 game_dir_root 参数,前端 hostedCreate/install 同步透传。
This commit is contained in:
1 parent
51fb0c30f7
commit
5006f432dc
10 files changed
+252
-8
No files matched your search
@@ -29,6 +29,14 @@
|
||||
"app.hosted-packs.auto-installing": { "message": "Downloading and installing the server modpack…" },
|
||||
"app.hosted-packs.auto-description": { "message": "Download and automatically install the modpack from StarLight to play on the StarLight server with one click." },
|
||||
"app.hosted-packs.auto-install": { "message": "Install the StarLight modpack" },
|
||||
"app.hosted-install.game-dir.header": { "message": "Choose game directory" },
|
||||
"app.hosted-install.game-dir.description": { "message": "StarLight instance data (mods, saves, configs, resource packs) is stored in an external game directory. Pick a root folder — the modpack gets its own subfolder inside it." },
|
||||
"app.hosted-install.game-dir.label": { "message": "Game directory root" },
|
||||
"app.hosted-install.game-dir.browse": { "message": "Browse" },
|
||||
"app.hosted-install.game-dir.no-selection": { "message": "No folder selected" },
|
||||
"app.hosted-install.game-dir.reset-default": { "message": "Use default location" },
|
||||
"app.hosted-install.game-dir.preview": { "message": "Game files will be installed to: {path}" },
|
||||
"app.hosted-install.game-dir.confirm": { "message": "Install" },
|
||||
"app.onboarding.instance-mode.title": { "message": "Choose your instance type" },
|
||||
"app.onboarding.instance-mode.description": { "message": "StarLight automatically installs the administrator-selected modpack and versions, then checks and completes updates before every launch. A StarLight login is required. Choose Local to select your own versions and modpacks for other servers or single-player." },
|
||||
"app.instance-mode.title": { "message": "Instance type" },
|
||||
|
||||
@@ -29,6 +29,14 @@
|
||||
"app.hosted-packs.auto-installing": { "message": "正在下载并安装服务器整合包…" },
|
||||
"app.hosted-packs.auto-description": { "message": "从StarLight服务器获取整合包并自动安装,可一键游玩StarLight服务器" },
|
||||
"app.hosted-packs.auto-install": { "message": "安装 StarLight 官方整合包" },
|
||||
"app.hosted-install.game-dir.header": { "message": "选择游戏目录" },
|
||||
"app.hosted-install.game-dir.description": { "message": "StarLight 实例的游戏数据(mods、存档、配置、资源包)会存放在外部游戏目录中。请选择一个根目录,整合包会在其中单独建一个子文件夹。" },
|
||||
"app.hosted-install.game-dir.label": { "message": "游戏目录根路径" },
|
||||
"app.hosted-install.game-dir.browse": { "message": "浏览" },
|
||||
"app.hosted-install.game-dir.no-selection": { "message": "尚未选择文件夹" },
|
||||
"app.hosted-install.game-dir.reset-default": { "message": "使用默认位置" },
|
||||
"app.hosted-install.game-dir.preview": { "message": "游戏文件将安装到:{path}" },
|
||||
"app.hosted-install.game-dir.confirm": { "message": "安装" },
|
||||
"app.onboarding.instance-mode.title": { "message": "选择实例类型" },
|
||||
"app.onboarding.instance-mode.description": { "message": "StarLight 实例自动安装管理员指定的整合包和版本,每次启动先检查并完成更新,需要登录 StarLight 账号。本地实例可自选版本和整合包,适合第三方服务器与单人游玩。" },
|
||||
"app.instance-mode.title": { "message": "实例类型" },
|
||||
|
||||
@@ -12,6 +12,14 @@
|
||||
"app.hosted-packs.auto-installing": { "message": "正在下載並安裝伺服器整合包…" },
|
||||
"app.hosted-packs.auto-description": { "message": "從StarLight伺服器取得整合包並自動安裝,可一鍵遊玩StarLight伺服器" },
|
||||
"app.hosted-packs.auto-install": { "message": "安裝 StarLight 官方整合包" },
|
||||
"app.hosted-install.game-dir.header": { "message": "選擇遊戲目錄" },
|
||||
"app.hosted-install.game-dir.description": { "message": "StarLight 實例的遊戲資料(mods、存檔、設定、資源包)會存放在外部遊戲目錄中。請選擇一個根目錄,整合包會在其中另外建立一個子資料夾。" },
|
||||
"app.hosted-install.game-dir.label": { "message": "遊戲目錄根路徑" },
|
||||
"app.hosted-install.game-dir.browse": { "message": "瀏覽" },
|
||||
"app.hosted-install.game-dir.no-selection": { "message": "尚未選擇資料夾" },
|
||||
"app.hosted-install.game-dir.reset-default": { "message": "使用預設位置" },
|
||||
"app.hosted-install.game-dir.preview": { "message": "遊戲檔案將安裝到:{path}" },
|
||||
"app.hosted-install.game-dir.confirm": { "message": "安裝" },
|
||||
"app.onboarding.instance-mode.title": { "message": "選擇實例類型" },
|
||||
"app.onboarding.instance-mode.description": { "message": "StarLight 實例自動安裝管理員指定的整合包和版本,每次啟動先檢查並完成更新,需要登入 StarLight 帳號。本地實例可自行選擇版本和整合包,適合第三方伺服器與單人遊玩。" },
|
||||
"app.instance-mode.title": { "message": "實例類型" },
|
||||
|
||||
Reference in new issue
Block a user