Skip to content

Commit

Permalink
add mac build
Browse files Browse the repository at this point in the history
  • Loading branch information
SnosMe committed Dec 7, 2023
1 parent 588b801 commit c7f199c
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 6 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,24 @@ jobs:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Hash
run: cat ./main/dist/latest-linux.yml

macos:
needs: renderer
runs-on: macos-11
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/download-artifact@v3
with:
name: renderer-dist
path: ./renderer/dist
- run: yarn --frozen-lockfile
working-directory: ./main
- run: yarn build
working-directory: ./main
- run: yarn package -p onTagOrDraft
working-directory: ./main
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Hash
run: cat ./main/dist/latest-mac.yml
9 changes: 4 additions & 5 deletions main/electron-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,10 @@ linux:
- "AppImage"
mac:
target:
- target: default
arch:
- universal
# MacOS apps can only be run on other systems if signed
forceCodeSigning: true
- target: "default"
arch:
- "universal"
identity: null
appImage:
executableArgs:
- "--sandbox"
2 changes: 1 addition & 1 deletion main/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "awakened-poe-trade",
"version": "3.22.10004",
"version": "3.22.10005",
"private": true,
"scripts": {
"dev": "node build/script.mjs",
Expand Down

0 comments on commit c7f199c

Please sign in to comment.