From c2a2229cb77f3e1b61002d4b251600eaf21c3c15 Mon Sep 17 00:00:00 2001 From: Kresna Date: Sat, 25 Jul 2026 17:58:15 +0700 Subject: [PATCH] fix(release): grant contents:write; drop AppImage (icon crash) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The builds all succeeded (macOS .dmg/.app and Windows NSIS both built + signed), but publishing failed: "Resource not accessible by integration" — tauri-action couldn't create the GitHub Release because the workflow GITHUB_TOKEN lacked `contents: write`. Added the permission. Linux crashed in AppImage bundling ("couldn't find a square icon" → aborted, exit 134), taking the whole Linux job down. Dropped appimage from targets for the beta (.deb still ships); AppImage can return with proper icon assets later. Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_013dqouzFP8vy9jaKhTDFj5H --- .github/workflows/release.yml | 3 +++ src-tauri/tauri.conf.json | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9446ddd..92ed5f8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,6 +8,9 @@ on: jobs: build: + # tauri-action creates the GitHub Release + uploads assets, which needs write. + permissions: + contents: write strategy: fail-fast: false matrix: diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 5e0c773..69b98dd 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -77,7 +77,7 @@ }, "bundle": { "active": true, - "targets": ["nsis", "app", "dmg", "deb", "appimage"], + "targets": ["nsis", "app", "dmg", "deb"], "resources": [], "category": "Utility", "shortDescription": "Privacy-first client-side tools",