Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/mabaega/ZatcaEGS
Browse files Browse the repository at this point in the history
  • Loading branch information
mabaega committed Sep 6, 2024
2 parents 580b1b0 + 1b559c0 commit 7195843
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,11 @@ jobs:
- name: Create macOS App Bundle
if: matrix.os == 'macos-latest'
run: |
dotnet tool install -g macpack
macpack -o ZatcaEGS.app -n "ZatcaEGS" -i Zatca.EGS/wwwroot/images/apple-icon.icns -c "dotnet Zatca.EGS.dll"
mkdir -p ZatcaEGS.app/Contents/{MacOS,Resources}
cp Zatca.EGS/wwwroot/images/apple-icon.icns ZatcaEGS.app/Contents/Resources/
echo -e "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n <key>CFBundleExecutable</key>\n <string>ZatcaEGS</string>\n <key>CFBundleIconFile</key>\n <string>apple-icon</string>\n</dict>\n</plist>" > ZatcaEGS.app/Contents/Info.plist
cp ./publish/Zatca.EGS ZatcaEGS.app/Contents/MacOS/ZatcaEGS
chmod +x ZatcaEGS.app/Contents/MacOS/ZatcaEGS
- name: Zip Release
uses: thedoctor0/zip-release@master
with:
Expand Down
2 changes: 1 addition & 1 deletion Zatca.EGS/Zatca.EGS.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@
</None>
</ItemGroup>

</Project>
</Project>

0 comments on commit 7195843

Please sign in to comment.