macos build, linux tun hack
This commit is contained in:
1 parent
9639defdd4
commit
76ab72db2e
18 files changed
+719
-64
No files matched your search
@@ -23,6 +23,7 @@ npx tsc
|
||||
cleanup_artifacts() {
|
||||
rm -f "$JOINER_GO_DIR"/desktop-joiner-windows-*.exe \
|
||||
"$JOINER_GO_DIR"/desktop-joiner-linux-* \
|
||||
"$JOINER_GO_DIR"/desktop-joiner-darwin \
|
||||
"$JOINER_GO_DIR"/desktop-joiner-bundle \
|
||||
"$JOINER_GO_DIR"/desktop-joiner-bundle.exe \
|
||||
"$JOINER_GO_DIR"/wintun-*.dll
|
||||
@@ -47,6 +48,12 @@ cp "$JOINER_GO_DIR/desktop-joiner-linux-x64" "$JOINER_GO_DIR/desktop-joiner-bund
|
||||
chmod +x "$JOINER_GO_DIR/desktop-joiner-bundle"
|
||||
npx electron-builder --linux --x64 --publish never
|
||||
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
echo ""
|
||||
echo "--- macOS (universal) ---"
|
||||
npx electron-builder --mac --publish never || true
|
||||
fi
|
||||
|
||||
"$ROOT/clean-prebuilts.sh"
|
||||
|
||||
echo ""
|
||||
|
||||
Reference in new issue
Block a user