Skip to content

Commit fb622fe

Browse files
Add comments
1 parent dd319bd commit fb622fe

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

release.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,17 @@ echo "3) Cleaning up old build..."
1717
rm -rf .webpack/
1818
rm -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:
2026
echo "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
2331
echo "5) Running electron-builder -l appimage zip deb snap rpm"
2432
export DEBUG=electron-builder
2533
./node_modules/.bin/electron-builder -l appimage zip deb snap rpm

0 commit comments

Comments
 (0)