Skip to content

Commit 7a995d1

Browse files
committed
Don't copy our libOpenCOR DLL when packaging.
Otherwise it will unnecessarily blow up our package.
1 parent 4a728ca commit 7a995d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

electron.vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export default defineConfig({
2020
preload: {
2121
plugins: [
2222
externalizeDepsPlugin(),
23-
...(process.platform === 'win32'
23+
...(process.platform === 'win32' && process.env.npm_lifecycle_event !== 'build'
2424
? [
2525
viteStaticCopy({
2626
targets: [

0 commit comments

Comments
 (0)