[fix] fast launch not working

This commit is contained in:
Purp1e
2025-03-25 00:55:25 +08:00
parent 0b65cdb129
commit 0a78a9d056

View File

@@ -23,7 +23,7 @@ const FastLaunch = () => {
onPress={() => {
void invoke("launch_game", {
steamPath: `${steam.state.steamDir}/steam.exe`,
launchOption: tool.state.launchOptions[tool.state.launchIndex] || "",
launchOption: tool.state.launchOptions[tool.state.launchIndex].option || "",
server: "perfectworld",
})
addToast({ title: "启动国服成功" })
@@ -37,7 +37,7 @@ const FastLaunch = () => {
onPress={() => {
void invoke("launch_game", {
steamPath: `${steam.state.steamDir}/steam.exe`,
launchOption: tool.state.launchOptions[tool.state.launchIndex] || "",
launchOption: tool.state.launchOptions[tool.state.launchIndex].option || "",
server: "worldwide",
})
addToast({ title: "启动国际服成功" })