Uninstall Mac apps with every file they leave behind, and see why each belongs. Free up space, fine-tune macOS, and set up Terminal.
Swift cache-cleanercleanerclideveloper-toolsdisk-cleanupdisk-spaceduplicate-finderhomebrewliquid-glassmac-cleanermacosmacos-appmacos-golden-gatemacos-tahoemacos-tweaksswiftswiftuiterminal-themesuninstalluninstaller
The Full Disk Access banner offers to reopen Peel
Țugui Dragoș6c47876d8e90
diff --git a/Localization/Peel/Localizable.xcstrings b/Localization/Peel/Localizable.xcstringsindex e6a27d1c..fa689b56 100644--- a/Localization/Peel/Localizable.xcstrings+++ b/Localization/Peel/Localizable.xcstrings@@ -84602,6 +84602,112 @@}}},+ "Peel couldn’t reopen itself" : {+ "localizations" : {+ "cs" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Peel se nemohl znovu spustit"+ }+ },+ "de" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Peel konnte sich nicht erneut öffnen"+ }+ },+ "es" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Peel no ha podido volver a abrirse"+ }+ },+ "fr" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Peel n’a pas pu se rouvrir"+ }+ },+ "it" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Peel non è riuscito a riaprirsi"+ }+ },+ "ja" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Peelを再度開けませんでした"+ }+ },+ "ko" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Peel을 다시 열 수 없음"+ }+ },+ "nl" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Peel kon zichzelf niet opnieuw openen"+ }+ },+ "pl" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Peel nie mógł otworzyć się ponownie"+ }+ },+ "pt" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "O Peel não conseguiu se reabrir"+ }+ },+ "ro" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Peel nu s‑a putut redeschide"+ }+ },+ "ru" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Peel не удалось перезапуститься"+ }+ },+ "sv" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Peel kunde inte öppnas igen"+ }+ },+ "tr" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Peel kendini yeniden açamadı"+ }+ },+ "uk" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Peel не вдалося відкритися знову"+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Peel未能重新打开自己"+ }+ },+ "zh-Hant" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Peel無法重新打開"+ }+ }+ }+ },"Peel couldn’t save a copy of the settings first, so it moved nothing." : {"localizations" : {"cs" : {@@ -96268,6 +96374,112 @@}}},+ "Quit Peel and open it again, so it can use Full Disk Access." : {+ "localizations" : {+ "cs" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Ukončete Peel a znovu ho otevřete, aby mohl používat plný přístup k disku."+ }+ },+ "de" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Beende Peel und öffne es erneut, damit Peel den Festplattenvollzugriff nutzen kann."+ }+ },+ "es" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Sal de Peel y vuelve a abrirlo para que pueda usar el acceso total al disco."+ }+ },+ "fr" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Quittez Peel puis rouvrez-le pour qu’il puisse utiliser l’accès complet au disque."+ }+ },+ "it" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Esci da Peel e riaprilo, così può usare l’accesso completo al disco."+ }+ },+ "ja" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "フルディスクアクセスを使用できるように、Peelを終了してから再度開いてください。"+ }+ },+ "ko" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Peel이 전체 디스크 접근 권한을 사용할 수 있도록 Peel을 종료한 다음 다시 여십시오."+ }+ },+ "nl" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Stop Peel en open het opnieuw, zodat het volledige schijftoegang kan gebruiken."+ }+ },+ "pl" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Zakończ Peel i otwórz go ponownie, aby mógł korzystać z pełnego dostępu do dysku."+ }+ },+ "pt" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Encerre o Peel e abra-o novamente para que ele possa usar o Acesso Total ao Disco."+ }+ },+ "ro" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Închideți aplicația Peel și deschideți‑o din nou, ca să poată folosi Acces complet la disc."+ }+ },+ "ru" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Завершите Peel и откройте его снова, чтобы он мог использовать полный доступ к диску."+ }+ },+ "sv" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Avsluta Peel och öppna appen igen så att den kan använda full skivtillgång."+ }+ },+ "tr" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Tam Disk Erişimi’ni kullanabilmesi için Peel’den çıkıp onu yeniden açın."+ }+ },+ "uk" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Завершіть програму «Peel» і відкрийте її знову, щоб вона могла використовувати повний доступ до диска."+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "退出Peel并重新打开,以便它使用完全磁盘访问权限。"+ }+ },+ "zh-Hant" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "請結束Peel並重新打開,讓它能使用「完全取用磁碟」權限。"+ }+ }+ }+ },"Quit these apps before removing them." : {"localizations" : {"cs" : {diff --git a/Peel/PeelApp.swift b/Peel/PeelApp.swiftindex 4387272a..4e0924b6 100644--- a/Peel/PeelApp.swift+++ b/Peel/PeelApp.swift@@ -263,6 +263,11 @@ struct PeelApp: App {ContentView()// Above every page, because removing an app takes its page away, along with any alert attached to it..removalFailureAlert()+ .alert("Peel couldn’t reopen itself", isPresented: $home.couldNotRelaunch) {+ Button("OK", role: .cancel) {}+ } message: {+ Text("Quit Peel and open it again, so it can use Full Disk Access.")+ }// Every bordered button is a capsule, the shape Liquid Glass gives the system's own controls..buttonBorderShape(.capsule).environment(outcome)diff --git a/Peel/Views/FullDiskAccessBanner.swift b/Peel/Views/FullDiskAccessBanner.swiftindex 9ce1f7fb..67a2dd85 100644--- a/Peel/Views/FullDiskAccessBanner.swift+++ b/Peel/Views/FullDiskAccessBanner.swift@@ -9,6 +9,10 @@ struct FullDiskAccessBanner: View {title: Text("Some folders couldn’t be read"),detail: Text("Give Peel Full Disk Access so it can read the folders macOS protects.")) {+ // Full Disk Access applies only to a new process, so once it may have been given, Peel offers to reopen.+ if home.needsRelaunchForFullDiskAccess {+ Button("Reopen Peel") { home.relaunch() }+ }Button("Open System Settings") {home.openFullDiskAccessSettings()}