Browse Source

Disable useless .tar.gz and tweak AppImage and compile options

master
meriadec 7 years ago
parent
commit
6b9799b775
No known key found for this signature in database GPG Key ID: 1D2FC2305E2CB399
  1. 6
      electron-builder.yml
  2. 3
      scripts/compile.sh

6
electron-builder.yml

@ -12,6 +12,9 @@ mac:
- dmg
- zip
appImage:
systemIntegration: doNotAsk
linux:
asarUnpack:
- node_modules/@ledgerhq/ledger-core
@ -21,9 +24,6 @@ linux:
- target: AppImage
arch:
- x64
- target: tar.gz
arch:
- x64
win:
artifactName: ${name}-${version}-${os}-${arch}.${ext}

3
scripts/compile.sh

@ -4,8 +4,9 @@ set -e
export GIT_REVISION=`git rev-parse HEAD`
export SENTRY_URL=https://db8f5b9b021048d4a401f045371701cb@sentry.io/274561
export JOBS=max
rm -rf ./node_modules/.cache dist
JOBS=max yarn
yarn
NODE_ENV=production yarn run webpack-cli --mode production --config webpack/internals.config.js
NODE_ENV=production yarn run electron-webpack

Loading…
Cancel
Save