From 5c0fed63a7d0785e7126b993b6997080f48d215e Mon Sep 17 00:00:00 2001 From: LukeGus Date: Sun, 19 Oct 2025 21:08:06 -0500 Subject: [PATCH] fix: Improve macOS support --- .github/workflows/electron-build.yml | 8 +++++++- electron-builder.json | 2 -- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/electron-build.yml b/.github/workflows/electron-build.yml index 87df98e3..71b0703c 100644 --- a/.github/workflows/electron-build.yml +++ b/.github/workflows/electron-build.yml @@ -169,11 +169,17 @@ jobs: echo "Imported certificates:" security find-identity -v -p codesigning $KEYCHAIN_PATH + - name: Set version for build + if: steps.check_certs.outputs.has_certs == 'true' + run: | + npm version 1.8.${{ github.run_number }} --no-git-tag-version + echo "Version set to:" + grep '"version"' package.json + - name: Build macOS App Store Package if: steps.check_certs.outputs.has_certs == 'true' env: ELECTRON_BUILDER_ALLOW_UNRESOLVED_DEPENDENCIES: true - BUILD_NUMBER: ${{ github.run_number }} run: npm run build:mac - name: List release directory diff --git a/electron-builder.json b/electron-builder.json index 92ff72e1..816c1351 100644 --- a/electron-builder.json +++ b/electron-builder.json @@ -77,8 +77,6 @@ "minimumSystemVersion": "10.15" }, "mas": { - "bundleShortVersion": "1.8.0", - "bundleVersion": "1.8.${env.BUILD_NUMBER}", "provisioningProfile": "build/Termix_Mac_App_Store.provisionprofile", "entitlements": "build/entitlements.mas.plist", "entitlementsInherit": "build/entitlements.mas.inherit.plist",