File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -17,9 +17,17 @@ echo "3) Cleaning up old build..."
1717rm -rf .webpack/
1818rm -rf dist/
1919
20+ # If you run it in dev mode first with:
21+ # npm run start
22+ # Then the app tries to connect to localhost:3000 instead of packaging the actual files when building with:
23+ # ./node_modules/.bin/electron-builder
24+
25+ # Therefore, first make sure the correct files are packaged with electron-forge:
2026echo " 4) Running: electron-forge package"
2127./node_modules/.bin/electron-forge package
2228
29+ # NOTE: Don't use prepackage because the electron-builder will not add the tigervnc/ folder:
30+ # ./node_modules/.bin/electron-builder --prepackaged out/peerviewer-linux-x64/ -l appimage
2331echo " 5) Running electron-builder -l appimage zip deb snap rpm"
2432export DEBUG=electron-builder
2533./node_modules/.bin/electron-builder -l appimage zip deb snap rpm
You can’t perform that action at this time.
0 commit comments