Skip to content

Commit

Permalink
build: another try to fix mac-arm build
Browse files Browse the repository at this point in the history
  • Loading branch information
kiomarzsss committed May 28, 2024
1 parent 8b16e4b commit ccf07de
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,17 @@ jobs:
# CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }}
# This is used for uploading release assets to github
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- if: matrix.os == 'macos-13'
run: |
# build for mac x64
if [ "$MATRIX_OS" == "macos-13" ]; then
npm exec electron-builder --mac dmg zip --x64 --publish always
- if: matrix.os == 'macos-14'
run: |
# build for mac arm64
elif [ "$MATRIX_OS" == "macos-14" ]; then
npm exec electron-builder --mac dmg zip --arm64 --publish always
npm exec electron-builder --mac dmg zip --arm64 --publish always
- if: matrix.os == 'windows-latest'
run: |
# build for windows/linux
else
npm exec electron-builder -- --publish always
fi
4 changes: 1 addition & 3 deletions src/renderer/pages/Index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -313,9 +313,7 @@ export default function Index() {
<i className={classNames('material-icons', 'navLeft')}>&#xe88e;</i>
</Link>
<Link to={'/debug'}>
<i className={classNames('material-icons', 'log')}>
&#xe868;
</i>
<i className={classNames('material-icons', 'log')}>&#xe868;</i>
</Link>
</div>
</nav>
Expand Down

0 comments on commit ccf07de

Please sign in to comment.