Skip to content

Commit

Permalink
Update to electron-builder 22.10.4 (#627)
Browse files Browse the repository at this point in the history
  • Loading branch information
lutzroeder committed Dec 23, 2020
1 parent c4ab9e9 commit 0bdb90a
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
run: |
case "${{ matrix.os }}" in
macos*)
CSC_IDENTITY_AUTO_DISCOVERY=false npx electron-builder --mac --publish never -c.mac.identity=null
CSC_IDENTITY_AUTO_DISCOVERY=false npx electron-builder --mac --universal --publish never -c.mac.identity=null
;;
ubuntu*)
npx electron-builder --linux appimage --publish never
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
macos*)
mkdir -p ~/.private_keys
echo '${{ secrets.API_KEY }}' > ~/.private_keys/AuthKey_${{ secrets.API_KEY_ID }}.p8
npx electron-builder --mac --publish always
npx electron-builder --mac --universal --publish always
;;
ubuntu*)
sudo snap install snapcraft --classic
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ build_python: install
python ./setup.py build --version bdist_wheel

build_electron: install
CSC_IDENTITY_AUTO_DISCOVERY=false npx electron-builder --mac --publish never
CSC_IDENTITY_AUTO_DISCOVERY=false npx electron-builder --mac --universal --publish never
npx electron-builder --win --publish never
npx electron-builder --linux appimage --publish never
npx electron-builder --linux snap --publish never
Expand All @@ -64,7 +64,7 @@ publish_python: build_python
python -m twine upload --non-interactive --skip-existing --verbose dist/dist/*

publish_electron: install
npx electron-builder --mac --publish always
npx electron-builder --mac --universal --publish always
npx electron-builder --win --publish always
npx electron-builder --linux appimage --publish always
npx electron-builder --linux snap --publish always
Expand Down
7 changes: 5 additions & 2 deletions electron-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,12 @@ publish:
- provider: github
releaseType: release
mac:
artifactName: ${productName}-${version}-mac.${ext}
category: public.app-category.developer-tools
darkModeSupport: true
hardenedRuntime: true
gatekeeperAssess: false
target:
hardenedRuntime: true
target:
- dmg
- zip
linux:
Expand All @@ -96,6 +97,8 @@ win:
- sha256
verifyUpdateCodeSignature: false
dmg:
artifactName: ${productName}-${version}.${ext}
title: "${productName} ${version}"
iconSize: 160
contents:
- x: 180
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
},
"devDependencies": {
"electron": "11.1.0",
"electron-builder": "22.9.1",
"electron-builder": "22.10.4",
"electron-notarize": "1.0.0",
"eslint": "7.16.0",
"xmldom": "0.4.0"
Expand Down

0 comments on commit 0bdb90a

Please sign in to comment.