From 9a1b6ec7c90da391990ba742b132d786bcb8745a Mon Sep 17 00:00:00 2001 From: asabya Date: Tue, 3 Sep 2024 20:30:11 +0530 Subject: [PATCH] fix: mac build --- .github/workflows/release.yaml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 24e55ea..c2b972e 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -151,11 +151,8 @@ jobs: - shell: bash if: matrix.os == 'macos-latest' run: | - chmod +x scripts/add-cert.sh && ./scripts/add-cert.sh - npm install --global create-dmg chmod +x 'build/bin/Fairdrive Desktop App.app/Contents/MacOS/Fairdrive Desktop App' - create-dmg 'build/bin/Fairdrive Desktop App.app' build/bin --identity '${{ secrets.ID }}' - mv 'build/bin/FDA 0.1.0.dmg' build/bin/FDA.dmg + hdiutil create -volname "FDA" -srcfolder build/bin -ov -format UDZO build/bin/FDA.dmg rm -rf 'build/bin/Fairdrive Desktop App.app' env: CERTIFICATE_OSX_APPLICATION: ${{ secrets.CERTIFICATE_OSX_APPLICATION }}