[fix] fast launch not working
This commit is contained in:
@@ -23,7 +23,7 @@ const FastLaunch = () => {
|
|||||||
onPress={() => {
|
onPress={() => {
|
||||||
void invoke("launch_game", {
|
void invoke("launch_game", {
|
||||||
steamPath: `${steam.state.steamDir}/steam.exe`,
|
steamPath: `${steam.state.steamDir}/steam.exe`,
|
||||||
launchOption: tool.state.launchOptions[tool.state.launchIndex] || "",
|
launchOption: tool.state.launchOptions[tool.state.launchIndex].option || "",
|
||||||
server: "perfectworld",
|
server: "perfectworld",
|
||||||
})
|
})
|
||||||
addToast({ title: "启动国服成功" })
|
addToast({ title: "启动国服成功" })
|
||||||
@@ -37,7 +37,7 @@ const FastLaunch = () => {
|
|||||||
onPress={() => {
|
onPress={() => {
|
||||||
void invoke("launch_game", {
|
void invoke("launch_game", {
|
||||||
steamPath: `${steam.state.steamDir}/steam.exe`,
|
steamPath: `${steam.state.steamDir}/steam.exe`,
|
||||||
launchOption: tool.state.launchOptions[tool.state.launchIndex] || "",
|
launchOption: tool.state.launchOptions[tool.state.launchIndex].option || "",
|
||||||
server: "worldwide",
|
server: "worldwide",
|
||||||
})
|
})
|
||||||
addToast({ title: "启动国际服成功" })
|
addToast({ title: "启动国际服成功" })
|
||||||
|
|||||||
Reference in New Issue
Block a user