Skip to content

Commit 423d7af

Browse files
Auto download VNC if not present
1 parent 124443d commit 423d7af

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

build_release_linux.sh

+5
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ rm -rf dist
1919
rm -rf out
2020
# Don't include Windows VNC binaries on Linux
2121
rm -rf vnc-software/uvnc-windows
22+
if [ ! -d "vnc-software/tigervnc-linux-x86_64" ]; then
23+
echo "vnc-software/tigervnc-linux-x86_64 not found, running vnc-software/download_tigervnc.sh"
24+
./vnc-software/download_tigervnc.sh
25+
fi
26+
2227

2328
# If you run it in dev mode first with:
2429
# npm run start

build_release_windows.sh

+4
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ rm -rf dist
2222
rm -rf out
2323
# dont include linux binaries in Windows build
2424
rm -rf vnc-software/tigervnc-linux-x86_64
25+
if [ ! -d "vnc-software/uvnc-windows" ]; then
26+
echo "vnc-software/uvnc-windows not found, running vnc-software/download_uvnc.sh"
27+
./vnc-software/download_uvnc.sh
28+
fi
2529

2630
# first make sure the correct files are packaged with electron-forge:
2731
echo "4) Packaging with: electron-forge package"

0 commit comments

Comments
 (0)