Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

just build appimage for linux #379

Merged
merged 1 commit into from
Jan 11, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 0 additions & 16 deletions src/server_manager/electron_app/package_linux_action.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,29 +16,13 @@

yarn do server_manager/electron_app/build

# Auto-updates only work for AppImage:
# https://github.com/electron-userland/electron-builder/issues/2498
$ROOT_DIR/src/server_manager/node_modules/.bin/electron-builder \
--projectDir=build/server_manager/electron_app/static \
--config.asarUnpack=server_manager/web_app/images \
--publish=never \
--config.publish.provider=generic \
--config.publish.url=https://raw.githubusercontent.com/Jigsaw-Code/outline-releases/master/manager/ \
--x64 \
--linux AppImage \
--config.linux.icon=icons/png \
--config.linux.category=Network \
--config.artifactName='Outline-Manager.${ext}'

for arch in ia32 x64; do
$ROOT_DIR/src/server_manager/node_modules/.bin/electron-builder \
--projectDir=build/server_manager/electron_app/static \
--config.asarUnpack=server_manager/web_app/images \
--publish=never \
--$arch \
--linux deb rpm tar.gz \
--config.linux.icon=icons/png \
--config.linux.category=Network \
--config.artifactName='Outline-Manager-'${arch}'.${ext}'

done