fix: portable flag

This commit is contained in:
MystiPanda committed 2023-12-15 21:39:34 +08:00
1 parent fa89fe3e87
commit 981f9d0b01
10 files changed
+47 -18

No files matched your search

+4
View File
@@ -191,3 +191,7 @@ export async function invoke_uwp_tool() {
Notice.error(err?.message || err.toString(), 1500)
);
}
export async function getPortableFlag() {
return invoke<boolean>("get_portable_flag");
}
-1
View File
@@ -14,7 +14,6 @@ type Platform =
/**
* defines in `vite.config.ts`
*/
declare const WIN_PORTABLE: boolean;
declare const OS_PLATFORM: Platform;
/**