Skip to content

Commit

Permalink
try win 64
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagohersan committed Feb 29, 2024
1 parent 77aec2d commit af74f46
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/release-gh-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Wine
run: |
sudo apt install wine64
sudo dpkg --add-architecture i386 && sudo apt-get update && sudo apt-get install wine32
# sudo dpkg --add-architecture i386 && sudo apt-get update && sudo apt-get install wine32
- name: Install
run: npm install
Expand All @@ -27,6 +27,14 @@ jobs:
- name: Build win
run: npm run exe

- name: Pack
run: |
ls -la release
ls -la release/the-happy-app-win32-x64/
mv release/the-happy-app-darwin-x64 ./the-happy-app-mac
tar -czf the-happy-app-mac.tar.gz the-happy-app-mac
mv release/the-happy-app-win32-x64/The\ Happy\ App.exe .
- name: Setup Git
id: setup
run: |
Expand All @@ -37,14 +45,6 @@ jobs:
git tag $TAG_NAME
git push origin $TAG_NAME
- name: Pack
run: |
ls -la release
ls -la release/the-happy-app-win32-ia32/
mv release/the-happy-app-darwin-x64 ./the-happy-app-mac
tar -czf the-happy-app-mac.tar.gz the-happy-app-mac
mv release/the-happy-app-win32-ia32/The\ Happy\ App.exe .
- name: Release
uses: softprops/action-gh-release@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"scripts": {
"start": "DEBUG=true node_modules/.bin/electron .",
"pack-osx": "electron-packager . the-happy-app --overwrite --platform=darwin --arch=x64 --icon=icons/Happy.icns --prune=true --ignore=\"release|feelings|icons|.gitignore|.github\" --out=release",
"pack-win": "electron-packager . the-happy-app --overwrite --platform=win32 --arch=ia32 --icon=icons/Happy.ico --prune=true --ignore=\"release|feelings|icons|.gitignore|.github\" --out=release --version-string.CompanyName=CE --version-string.FileDescription=CE --version-string.ProductName=\"The Happy App\"",
"pack-win": "electron-packager . the-happy-app --overwrite --platform=win32 --arch=x64 --icon=icons/Happy.ico --prune=true --ignore=\"release|feelings|icons|.gitignore|.github\" --out=release --version-string.CompanyName=CE --version-string.FileDescription=CE --version-string.ProductName=\"The Happy App\"",
"installer-osx": "bash installers/createMacInstaller.sh ",
"installer-win": "node installers/createWindowsInstaller.js",
"dmg": "npm run pack-osx; npm run installer-osx",
Expand Down

0 comments on commit af74f46

Please sign in to comment.