mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2026-03-16 04:03:17 +08:00
🐛 修复调用参数异常
This commit is contained in:
@@ -750,7 +750,7 @@ async function tryLaunchGame(): Promise<void> {
|
||||
gamePath: gamePath,
|
||||
uid: account.value.gameUid,
|
||||
ticket: resp,
|
||||
is_msix: isMsix,
|
||||
isMsix: isMsix,
|
||||
});
|
||||
} catch (err) {
|
||||
showSnackbar.error(`调用Yae DLL失败: ${err}`);
|
||||
|
||||
@@ -143,7 +143,7 @@ export async function tryCallYae(gameDir: string, uid?: string): Promise<void> {
|
||||
return;
|
||||
}
|
||||
try {
|
||||
await invoke("call_yae_dll", { gamePath: gamePath, uid: input, is_msix: isMsix });
|
||||
await invoke("call_yae_dll", { gamePath: gamePath, uid: input, isMsix: isMsix });
|
||||
} catch (err) {
|
||||
showSnackbar.error(`调用Yae DLL失败: ${err}`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user