Skip to content

Commit

Permalink
adsfc
Browse files Browse the repository at this point in the history
  • Loading branch information
dfunckt committed Nov 14, 2023
1 parent 880a498 commit 33f919d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/actions/publish/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,20 +115,21 @@ runs:
if [[ $runner_os =~ linux ]]; then
BUILD_ARCH='x64'
npm run make -- --arch="${BUILD_ARCH}"
elif [[ $runner_os =~ darwin|macos|osx ]]; then
BUILD_ARCH='x64,arm64'
npm run make -- --arch="${BUILD_ARCH}"
elif [[ $runner_os =~ windows|win ]]; then
BUILD_ARCH='ia32,x64'
npm run make-debug-win -- --arch="${BUILD_ARCH}"
else
echo "ERROR: unexpected runner OS: ${runner_os}"
exit 1
fi
npm run make -- --arch="${BUILD_ARCH}"
echo "version=${APPLICATION_VERSION}" >> $GITHUB_OUTPUT
env:
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@
"test": "echo npm run test-{linux,windows,macos}",
"package": "electron-forge package",
"start": "electron-forge start",
"make": "electron-forge make"
"make": "electron-forge make",
"make-debug": "DEBUG='electron-forge:*,electron-packager,electron-rebuild' npm run make",
"make-debug-win": "@powershell -Command $env:DEBUG='electron-forge:*,electron-packager,electron-rebuild,electron-windows-installer:main';npm run make"
},
"husky": {
"hooks": {
Expand Down

0 comments on commit 33f919d

Please sign in to comment.