fix: use original-fs to bypass Electron asar interception

This commit is contained in:
2026-04-16 09:38:00 -07:00
parent 691b363f88
commit 255befd1b8
3 changed files with 10 additions and 7 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ export default defineConfig({
outDir: 'dist/main',
emptyDirBefore: true,
rollupOptions: {
external: ['electron', 'electron-store', ...nodeBuiltins],
external: ['electron', 'electron-store', 'original-fs', ...nodeBuiltins],
},
target: 'node20',
minify: isProd,