diff --git a/.github/workflows/build-macos.yml b/.github/workflows/build-macos.yml index 1117c72..2b55223 100644 --- a/.github/workflows/build-macos.yml +++ b/.github/workflows/build-macos.yml @@ -16,7 +16,7 @@ jobs: matrix: platform: - name: Intel - os: macos-latest + os: macos-26-intel target: x86_64-apple-darwin binary_dir: macos-x86_64 arch: x86_64 @@ -74,7 +74,22 @@ jobs: echo "SHORT_SHA=${SHORT_SHA}" >> $GITHUB_ENV echo "PREFIX=ICCery_${TAG}-${SHORT_SHA}-macos-${{ matrix.platform.arch }}" >> $GITHUB_ENV + - name: Warm up macOS GUI for DMG layout + if: runner.os == 'macOS' + run: | + # Tauri's DMG bundler runs an AppleScript that asks Finder to set the + # background picture and icon positions. On CI runners, Finder or the + # Aqua session may be idle, which can cause AppleEvent timeouts. Try to + # start/awaken Finder and System Events before the real build. + open -g -a Finder || true + open -g -a "System Events" || true + # Send a harmless probe to force Finder to initialise a scripting session. + osascript -e 'tell application "Finder" to get name' || true + sleep 10 + - name: Build Tauri App + env: + TAURI_BUNDLER_DMG_IGNORE_CI: "true" run: npm run tauri build -- --target ${{ matrix.platform.target }} - name: Prepare Release Assets diff --git a/package.json b/package.json index fe6b2bb..baa366a 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "iccery", "private": true, - "version": "0.7.3", + "version": "0.7.4", "type": "module", "scripts": { "fetch-argyll": "node scripts/fetch-argyll.mjs", diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock index 12c8bfb..6b15e37 100644 --- a/src-tauri/Cargo.lock +++ b/src-tauri/Cargo.lock @@ -1423,7 +1423,7 @@ dependencies = [ [[package]] name = "iccery" -version = "0.7.3" +version = "0.7.4" dependencies = [ "base64 0.22.1", "image", diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index f28689b..639fd5f 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "iccery" -version = "0.7.3" +version = "0.7.4" description = "Modern Printer Profiling UI frontend for ArgyllCMS" authors = ["Gordon"] edition = "2021" diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index ceabb62..0eef173 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -1,7 +1,7 @@ { "$schema": "https://schema.tauri.app/config/2", "productName": "ICCery", - "version": "0.7.3", + "version": "0.7.4", "identifier": "com.gronod.iccery", "build": { "frontendDist": "../src"