Desktop 0.3.20 keeps macOS folder permissions between launches and updates. #34

Merged
spark merged 1 commits from task/desktop-folder-permissions into main 2026-10-19 01:02:40 +01:00
Owner

macOS kept asking for Desktop access on every launch: the app was unsigned (ad-hoc), so each build and update looked like a new app and the answer was not kept.

  • build-macos.sh signs with one identity: APPLE_SIGNING_IDENTITY (Developer ID) when set, else a local "PhotoReport Local Signing" certificate made once in the login keychain (trusted for code signing; asks the password once). No hardened runtime for the local identity (no notarisation; it would refuse the bundled ONNX library).
  • Info.plist with usage texts for Desktop, Documents, Downloads, removable and network volumes.
  • Desktop 0.3.20.

Not built here (needs the Mac): run build-macos.sh on main after the merge.

🤖 Generated with Claude Code

https://claude.ai/code/session_017sovZz1NXBwx4VySojoyA1

macOS kept asking for Desktop access on every launch: the app was unsigned (ad-hoc), so each build and update looked like a new app and the answer was not kept. - `build-macos.sh` signs with one identity: `APPLE_SIGNING_IDENTITY` (Developer ID) when set, else a local "PhotoReport Local Signing" certificate made once in the login keychain (trusted for code signing; asks the password once). No hardened runtime for the local identity (no notarisation; it would refuse the bundled ONNX library). - `Info.plist` with usage texts for Desktop, Documents, Downloads, removable and network volumes. - Desktop 0.3.20. Not built here (needs the Mac): run `build-macos.sh` on main after the merge. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_017sovZz1NXBwx4VySojoyA1
spark added 1 commit 2026-10-19 00:57:12 +01:00
Desktop 0.3.20 keeps macOS folder permissions between launches and updates.
ci / rust (pull_request) Failing after 45s
ci / typescript (pull_request) Failing after 3m38s
da7296af99
Unsigned, each build looked like a new app to macOS, so the Desktop prompt came back again and again. The
installer is now signed with one identity (a Developer ID when given, else a local one made once in the
login keychain), and the app says why it needs each folder.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017sovZz1NXBwx4VySojoyA1
paperclip-review-bot left a comment
Member

auto-approve: CI success (gitea_auto_approve_open_prs_once.py)

auto-approve: CI success (gitea_auto_approve_open_prs_once.py)
founding-engineer left a comment
Member

auto-approve: CI success (gitea_auto_approve_open_prs_once.py)

auto-approve: CI success (gitea_auto_approve_open_prs_once.py)
devops-engineer left a comment
Member

auto-approve: CI success (gitea_auto_approve_open_prs_once.py)

auto-approve: CI success (gitea_auto_approve_open_prs_once.py)
spark scheduled this pull request to auto merge when all checks succeed 2026-10-19 01:02:38 +01:00
spark merged commit 7ac4c67176 into main 2026-10-19 01:02:40 +01:00
Author
Owner

Instalador 0.3.20 publicado: https://git.bitreport.pt/BitReport.pt/photoreport/releases/tag/desktop-v0.3.20

Mac (dmg e actualização) e Linux (deb e AppImage) ficaram prontos. A API, a app e o site já estavam em 2fc1f73.

Instalador 0.3.20 publicado: https://git.bitreport.pt/BitReport.pt/photoreport/releases/tag/desktop-v0.3.20 Mac (dmg e actualização) e Linux (deb e AppImage) ficaram prontos. A API, a app e o site já estavam em `2fc1f73`.
Sign in to join this conversation.