Skip to content

Commit

Permalink
Update build for mac
Browse files Browse the repository at this point in the history
  • Loading branch information
spaaaacccee committed May 26, 2024
1 parent 25bca8c commit ff9ad92
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions client/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ npx electron-packager . Posthoc --dir dist --platform=linux --arch=x64 --electro
npx electron-packager . Posthoc --dir dist --platform=darwin --arch=arm64 --electronVersion=26.2.1 --ignore node_modules --ignore src --overwrite --icon ./dist/favicon --out bin
npx electron-packager . Posthoc --dir dist --platform=darwin --arch=x64 --electronVersion=26.2.1 --ignore node_modules --ignore src --overwrite --icon ./dist/favicon --out bin

mkdir -p ./bin/Posthoc-darwin-x64/resources/app
mkdir -p ./bin/Posthoc-darwin-arm64/resources/app
cp -r ./dist ./bin/Posthoc-darwin-x64/resources/app
cp -r ./dist ./bin/Posthoc-darwin-arm64/resources/app

cd bin

zip -r Posthoc-linux-x64.zip Posthoc-linux-x64
Expand Down

0 comments on commit ff9ad92

Please sign in to comment.