From 57679d95910fc84b8771d1d8f6dbb951c05ec8ce Mon Sep 17 00:00:00 2001 From: Alan Silva Date: Mon, 9 Nov 2026 14:03:34 +0000 Subject: [PATCH] Let the macOS app save updates to Downloads The sandboxed app downloads its update zip to ~/Downloads, which needs the downloads read-write entitlement; without it the download failed with "Operation not permitted". --- app/macos/Runner/DebugProfile.entitlements | 2 ++ app/macos/Runner/Release.entitlements | 2 ++ 2 files changed, 4 insertions(+) diff --git a/app/macos/Runner/DebugProfile.entitlements b/app/macos/Runner/DebugProfile.entitlements index 0eaccf14..91f41fb6 100644 --- a/app/macos/Runner/DebugProfile.entitlements +++ b/app/macos/Runner/DebugProfile.entitlements @@ -6,6 +6,8 @@ com.apple.security.cs.allow-jit + com.apple.security.files.downloads.read-write + com.apple.security.files.user-selected.read-write com.apple.security.network.client diff --git a/app/macos/Runner/Release.entitlements b/app/macos/Runner/Release.entitlements index a0463869..8fa9cdb1 100644 --- a/app/macos/Runner/Release.entitlements +++ b/app/macos/Runner/Release.entitlements @@ -4,6 +4,8 @@ com.apple.security.app-sandbox + com.apple.security.files.downloads.read-write + com.apple.security.files.user-selected.read-write com.apple.security.network.client