fix: portable flag

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

View File

@@ -25,6 +25,5 @@ export default defineConfig({
},
define: {
OS_PLATFORM: `"${process.platform}"`,
WIN_PORTABLE: !!process.env.VITE_WIN_PORTABLE,
},
});