diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 33dc1fc..4ac8635 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -132,6 +132,13 @@ jobs: # APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }} run: npm run make -- --arch ${{ matrix.arch }} + - name: Codesign dmg + if: matrix.os == 'macos-latest' + run: | + cd out/make + dmg_file=$(find . -name "*.dmg" -type f) + codesign --timestamp --verbose --sign "Developer ID Application" $dmg_file + - name: Make AppImage if: matrix.os == 'ubuntu-latest' run: | @@ -147,7 +154,7 @@ jobs: - name: Upload artifacts uses: softprops/action-gh-release@v2 - if: matrix.os == 'windows-2019' && always() + if: matrix.os == 'windows-2019' with: tag_name: ${{ steps.relinfo.outputs.release }} files: "out/make/**/*.exe" diff --git a/forge.config.ts b/forge.config.ts index e3210aa..6779b00 100644 --- a/forge.config.ts +++ b/forge.config.ts @@ -14,6 +14,7 @@ const config: ForgeConfig = { packagerConfig: { name: "TrackAudio", asar: true, + osxSign: {}, icon: "resources/AppIcon/AppIcon", extraResource: [ "resources/AC_Bus_f32.wav", @@ -37,14 +38,6 @@ const config: ForgeConfig = { name: "@electron-forge/maker-dmg", config: { icon: "resources/AppIcon/AppIcon.icns", - additionalDMGOptions: { - "code-sign": { - "signing-identity": "Developer ID Application", - }, - }, - packagerOptions: { - osxSign: {} - }, }, }, { diff --git a/package-lock.json b/package-lock.json index 8cb147c..7cd4446 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16137,7 +16137,7 @@ "node_modules/trackaudio-afv": { "version": "1.0.0", "resolved": "file:backend/trackaudio-afv-1.0.0.tgz", - "integrity": "sha512-qzPAspbYL37jype70R8PLRbo2/zwMswlDpIg0iNUTqQcWv6OPKCF22YZ9x6ut/olcVK1oPz4paYHK0+mYkYEMA==", + "integrity": "sha512-YVz17qApBsdQxSbOjcvUYnGSxEAMPudr7TYcV0GI089hma2h8GN9rDdqS8fRKXiOYylotG7UEpIPLmL0VFHMcA==", "dependencies": { "bindings": "^1.5.0", "node-addon-api": "^1.1.0"