Use .dmg files to distribute for macOS (#549)

This is the standard way to distribute applications for macOS.
It also avoids relying on GitHub to preserve file permissions (particularly +x) when zipping files.
Fixes #466
macos-click-through
Benjamin Davies 4 years ago committed by GitHub
parent 6e2f9551eb
commit 63d38fce3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -79,10 +79,15 @@ jobs:
mv MoltenVK_icd.json ./Resources/vulkan/icd.d/
install_name_tool -add_rpath "@executable_path/../Frameworks" ./MacOS/neovide
- name: Create .dmg file
run: |
hdiutil create Neovide-uncompressed.dmg -volname "Neovide" -srcfolder target/release/bundle/osx
hdiutil convert Neovide-uncompressed.dmg -format UDZO -o Neovide.dmg
- uses: actions/upload-artifact@v1
with:
name: Neovide.app
path: ./target/release/bundle/osx
name: Neovide.dmg
path: ./Neovide.dmg
build-linux:

Loading…
Cancel
Save