Skip to content

Commit 6f9f17f

Browse files
committed
fix: dev mode for electron using vite
1 parent 61569ba commit 6f9f17f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
"e2e": "ELECTRON_EXTRA_LAUNCH_ARGS=--remote-debugging-port=9222 CYPRESS_BASE_URL=http://localhost:3000 cypress run",
101101
"e2e:open": "ELECTRON_EXTRA_LAUNCH_ARGS=--remote-debugging-port=9222 CYPRESS_BASE_URL=http://localhost:3000 cypress open",
102102
"dev": "concurrently -k \"vite\" \"npm run electron\"",
103-
"setup": "npm run build && cp package.json ./build",
103+
"setup": "npm run build && cp package.json electron.js ./build",
104104
"package": "npm run setup && electron-builder --linux snap -p never",
105105
"package-windows": "npm run setup && electron-builder --win --x64 -p never",
106106
"package-macos": "npm run setup && electron-builder --macos -p never",

0 commit comments

Comments
 (0)