Skip to content

armgit / peel

Public Imported from GitHub
0

Uninstall Mac apps with every file they leave behind, and see why each belongs. Free up space, fine-tune macOS, and set up Terminal.

Find Intel-only commands in MacPorts and the home's folders of programs

Țugui Dragoșbe6e5e6f7fcd
diff --git a/ARCHITECTURE.md b/ARCHITECTURE.md
index ce66a74d..cbb7dd03 100644
--- a/ARCHITECTURE.md
+++ b/ARCHITECTURE.md
@@ -400,7 +400,8 @@ macOS asks the user to approve it once. It talks to the app over XPC.
and, inside each, at the folders that hold code of its own (`embeddedDirectories`, and in `Contents/Frameworks` only
the apps and services kept there), at the plug-ins the Plug-ins page lists, at the drivers in `Image Capture` and
`Printers` and what else sits in `Audio/Plug-Ins` and `ColorPickers`, at the programs launchd jobs run, at the
- tools in `/usr/local`, and at the Java runtimes in each Library's `Java/JavaVirtualMachines`, judged by their
+ tools in `/usr/local`, MacPorts' `/opt/local`, and the home's `bin` and `.local/bin` (`toolDirectories`, each found
+ with its `CommandFolder`), and at the Java runtimes in each Library's `Java/JavaVirtualMachines`, judged by their
`java`, since the library their bundle names is run by nothing. It only reports: an app goes from Applications, a
plug-in the Plug-ins page lists from there, a Java runtime as its folder, and the rest with the software that
installed it.
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 96c604ca..7161156f 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -70,6 +70,8 @@ its changes the way [Keep a Changelog](https://keepachangelog.com/) suggests.
- On Apple silicon, a universal app that asks macOS to open it as Intel is listed, and says so. On macOS 27 the empty
page points to System Settings' list of Intel-based apps.
- A Java runtime a package installed has Review in Package Receipts.
+- Commands built only for Intel in MacPorts' `/opt/local` and in your home's `~/bin` and `~/.local/bin`, beside
+ those in `/usr/local`; for a MacPorts one, MacPorts' own step, `sudo port migrate`.
#### Package Receipts
diff --git a/GUIDE.md b/GUIDE.md
index 562fa0c2..e4bdb5f7 100644
--- a/GUIDE.md
+++ b/GUIDE.md
@@ -316,9 +316,10 @@ and how many items the others hold.
maker's uninstaller stays where it is, and what may exist only on this Mac is shown and not selected.
- **Intel Software:** what still needs Rosetta, which macOS 27 is the last release to offer for most Intel software:
apps, apps built for both that ask macOS to open them as Intel, the Intel-only parts inside other apps, plug-ins,
- drivers, background items, the commands in `/usr/local`, and the Java runtimes in either Library's
- `Java/JavaVirtualMachines`. It names any folder or program it couldn't read, since something there may need Rosetta
- too.
+ drivers, background items, the Java runtimes in either Library's `Java/JavaVirtualMachines`, and the commands in
+ `/usr/local`, in MacPorts' `/opt/local`, and in your home's `~/bin` and `~/.local/bin`, a MacPorts one with
+ MacPorts' own step, `sudo port migrate`. It names any folder or program it couldn't read, since something there may
+ need Rosetta too.
- **Homebrew:** your formulae and casks, with Update, Clean Up (and two deeper ones: downloads older than 30 days, or
every download), Repair Taps, Check Health, Scan for Vulnerabilities, Upgrade, and Uninstall, or the command to run in
Terminal for a cask that asks for an administrator's password. Uninstall and the cleanups delete for good, as Homebrew
diff --git a/Localization/Peel/Localizable.xcstrings b/Localization/Peel/Localizable.xcstrings
index 4e5e2711..9ab156b0 100644
--- a/Localization/Peel/Localizable.xcstrings
+++ b/Localization/Peel/Localizable.xcstrings
@@ -123978,215 +123978,214 @@
}
}
},
- "Nothing Peel looked at is built for Intel only: the apps in the Applications folders and the folders you added in Settings, what they carry inside, the plug-ins, the drivers, the background items, the tools in /usr/local, and the Java runtimes." : {
+ "Nothing Peel looked at is built for Intel only: the apps in the Applications folders and the folders you added in Settings, what they carry inside, the plug-ins, the drivers, the background items, the Java runtimes, and the tools in /usr/local, /opt/local, ~/bin, and ~/.local/bin." : {
"localizations" : {
"cs" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Nic z toho, co Peel prověřil, není určeno jen pro procesory Intel: aplikace ve složkách Aplikace a ve složkách, které jste přidali v Nastavení, jejich vnitřní součásti, plug-iny, ovladače, položky na pozadí, nástroje v /usr/local a běhová prostředí Java."
+ "value" : "Nic z toho, co Peel prověřil, není určeno jen pro procesory Intel: aplikace ve složkách Aplikace a ve složkách, které jste přidali v Nastavení, jejich vnitřní součásti, plug-iny, ovladače, položky na pozadí, běhová prostředí Java a nástroje v /usr/local, /opt/local, ~/bin a ~/.local/bin."
}
},
"de" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Nichts, was Peel geprüft hat, ist nur für Intel entwickelt: die Apps in den Ordnern „Programme“ und in den Ordnern, die du in den Einstellungen hinzugefügt hast, was sie in sich tragen, die Plug-ins, die Treiber, die Hintergrundobjekte, die Tools in /usr/local und die Java-Laufzeitumgebungen."
+ "value" : "Nichts, was Peel geprüft hat, ist nur für Intel entwickelt: die Apps in den Ordnern „Programme“ und in den Ordnern, die du in den Einstellungen hinzugefügt hast, was sie in sich tragen, die Plug-ins, die Treiber, die Hintergrundobjekte, die Java-Laufzeitumgebungen und die Tools in /usr/local, /opt/local, ~/bin und ~/.local/bin."
}
},
"es" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Nada de lo que Peel ha revisado está creado solo para Intel: las apps de las carpetas Aplicaciones y de las carpetas que has añadido en Ajustes, lo que llevan dentro, los módulos, los drivers, los ítems en segundo plano, las herramientas de /usr/local y los entornos de ejecución de Java."
+ "value" : "Nada de lo que Peel ha revisado está creado solo para Intel: las apps de las carpetas Aplicaciones y de las carpetas que has añadido en Ajustes, lo que llevan dentro, los módulos, los drivers, los ítems en segundo plano, los entornos de ejecución de Java y las herramientas de /usr/local, /opt/local, ~/bin y ~/.local/bin."
}
},
"fr" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Rien de ce que Peel a examiné n’est conçu uniquement pour Intel : les apps des dossiers Applications et des dossiers que vous avez ajoutés dans les Réglages, ce qu’elles contiennent, les modules, les gestionnaires, les éléments en arrière-plan, les outils de /usr/local et les environnements d’exécution Java."
+ "value" : "Rien de ce que Peel a examiné n’est conçu uniquement pour Intel : les apps des dossiers Applications et des dossiers que vous avez ajoutés dans les Réglages, ce qu’elles contiennent, les modules, les gestionnaires, les éléments en arrière-plan, les environnements d’exécution Java et les outils de /usr/local, de /opt/local, de ~/bin et de ~/.local/bin."
}
},
"it" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Nulla di ciò che Peel ha esaminato è compilato solo per Intel: le app nelle cartelle Applicazioni e nelle cartelle che hai aggiunto nelle Impostazioni, ciò che contengono, i plugin, i driver, gli elementi in background, gli strumenti in /usr/local e i runtime Java."
+ "value" : "Nulla di ciò che Peel ha esaminato è compilato solo per Intel: le app nelle cartelle Applicazioni e nelle cartelle che hai aggiunto nelle Impostazioni, ciò che contengono, i plugin, i driver, gli elementi in background, i runtime Java e gli strumenti in /usr/local, /opt/local, ~/bin e ~/.local/bin."
}
},
"ja" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Peelが調べたもの(“アプリケーション”フォルダと“設定”で追加したフォルダにあるアプリ、アプリの内部にあるもの、プラグイン、ドライバ、バックグラウンド項目、/usr/localにあるツール、Javaランタイム)には、Intel専用にビルドされたものはありません。"
+ "value" : "Peelが調べたもの(“アプリケーション”フォルダと“設定”で追加したフォルダにあるアプリ、アプリの内部にあるもの、プラグイン、ドライバ、バックグラウンド項目、Javaランタイム、/usr/local、/opt/local、~/bin、~/.local/binの各フォルダにあるツール)には、Intel専用にビルドされたものはありません。"
}
},
"ko" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Peel이 살펴본 응용 프로그램 폴더와 설정에서 추가한 폴더의 앱, 앱 내부의 구성 요소, 플러그인, 드라이버, 백그라운드 항목, /usr/local의 도구, Java 런타임 중 Intel 전용으로 빌드된 항목은 없습니다."
+ "value" : "Peel이 살펴본 응용 프로그램 폴더와 설정에서 추가한 폴더의 앱, 앱 내부의 구성 요소, 플러그인, 드라이버, 백그라운드 항목, Java 런타임 및 /usr/local, /opt/local, ~/bin, ~/.local/bin의 도구 중 Intel 전용으로 빌드된 항목은 없습니다."
}
},
"nl" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Niets van wat Peel heeft bekeken, is alleen voor Intel gemaakt: de apps in de mappen 'Apps' en in de mappen die je in Instellingen hebt toegevoegd, wat erin zit, de plug-ins, de besturingsbestanden, de achtergrondonderdelen, de tools in /usr/local en de Java-runtimes."
+ "value" : "Niets van wat Peel heeft bekeken, is alleen voor Intel gemaakt: de apps in de mappen 'Apps' en in de mappen die je in Instellingen hebt toegevoegd, wat erin zit, de plug-ins, de besturingsbestanden, de achtergrondonderdelen, de Java-runtimes en de tools in /usr/local, /opt/local, ~/bin en ~/.local/bin."
}
},
"pl" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Nic z tego, co sprawdził Peel, nie jest skompilowane tylko dla procesorów Intel: aplikacje w folderach Aplikacje i w folderach dodanych przez Ciebie w Ustawieniach, ich zawartość, wtyczki, sterowniki, rzeczy działające w tle, narzędzia w /usr/local i środowiska uruchomieniowe Java."
+ "value" : "Nic z tego, co sprawdził Peel, nie jest skompilowane tylko dla procesorów Intel: aplikacje w folderach Aplikacje i w folderach dodanych przez Ciebie w Ustawieniach, ich zawartość, wtyczki, sterowniki, rzeczy działające w tle, środowiska uruchomieniowe Java i narzędzia w /usr/local, /opt/local, ~/bin i ~/.local/bin."
}
},
"pt" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Nada do que o Peel examinou é feito só para Intel: os apps das pastas Aplicativos e das pastas que você adicionou nos Ajustes, o que eles trazem dentro, os plug-ins, os drivers, os itens em segundo plano, as ferramentas em /usr/local e os runtimes Java."
+ "value" : "Nada do que o Peel examinou é feito só para Intel: os apps das pastas Aplicativos e das pastas que você adicionou nos Ajustes, o que eles trazem dentro, os plug-ins, os drivers, os itens em segundo plano, os runtimes Java e as ferramentas em /usr/local, /opt/local, ~/bin e ~/.local/bin."
}
},
"ro" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Nimic din ce a examinat Peel nu este compilat doar pentru Intel: aplicațiile din dosarele Aplicații și din dosarele pe care le‑ați adăugat în Configurări, ce conțin aceste aplicații, plug-inurile, driverele, articolele de fundal, instrumentele din /usr/local și mediile de rulare Java."
+ "value" : "Nimic din ce a examinat Peel nu este compilat doar pentru Intel: aplicațiile din dosarele Aplicații și din dosarele pe care le‑ați adăugat în Configurări, ce conțin aceste aplicații, plug-inurile, driverele, articolele de fundal, mediile de rulare Java și instrumentele din /usr/local, /opt/local, ~/bin și ~/.local/bin."
}
},
"ru" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Ничто из того, что проверил Peel, не собрано только для Intel: ни приложения в папках «Программы» и в папках, добавленных Вами в Настройках, ни то, что у них внутри, ни плагины, ни драйверы, ни фоновые объекты, ни инструменты в /usr/local, ни среды выполнения Java."
+ "value" : "Ничто из того, что проверил Peel, не собрано только для Intel: ни приложения в папках «Программы» и в папках, добавленных Вами в Настройках, ни то, что у них внутри, ни плагины, ни драйверы, ни фоновые объекты, ни среды выполнения Java, ни инструменты в /usr/local, /opt/local, ~/bin и ~/.local/bin."
}
},
"sv" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Inget som Peel har tittat på är byggt bara för Intel: apparna i mapparna Appar och i de mappar som du har lagt till i Inställningar, det de bär med sig inuti, insticksfilerna, drivrutinerna, bakgrundsobjekten, verktygen i /usr/local och Java-körmiljöerna."
+ "value" : "Inget som Peel har tittat på är byggt bara för Intel: apparna i mapparna Appar och i de mappar som du har lagt till i Inställningar, det de bär med sig inuti, insticksfilerna, drivrutinerna, bakgrundsobjekten, Java-körmiljöerna och verktygen i /usr/local, /opt/local, ~/bin och ~/.local/bin."
}
},
"tr" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Peel’in baktığı hiçbir şey yalnızca Intel için derlenmemiş: Uygulamalar klasörlerindeki ve Ayarlar’da eklediğiniz klasörlerdeki uygulamalar, içlerinde taşıdıkları, yazılım ekleri, sürücüler, arka plan öğeleri, /usr/local içindeki araçlar ve Java çalışma ortamları."
+ "value" : "Peel’in baktığı hiçbir şey yalnızca Intel için derlenmemiş: Uygulamalar klasörlerindeki ve Ayarlar’da eklediğiniz klasörlerdeki uygulamalar, içlerinde taşıdıkları, yazılım ekleri, sürücüler, arka plan öğeleri, Java çalışma ortamları ve /usr/local, /opt/local, ~/bin ve ~/.local/bin içindeki araçlar."
}
},
"uk" : {
"stringUnit" : {
"state" : "translated",
- "value" : "З того, що переглянула Peel, нічого не створено лише для Intel: програми в папках «Програми» і в папках, які ви додали в Параметрах, те, що вони містять усередині, плагіни, драйвери, фонові елементи, інструменти в /usr/local та середовища виконання Java."
+ "value" : "З того, що переглянула Peel, нічого не створено лише для Intel: програми в папках «Програми» і в папках, які ви додали в Параметрах, те, що вони містять усередині, плагіни, драйвери, фонові елементи, середовища виконання Java та інструменти в /usr/local, /opt/local, ~/bin і ~/.local/bin."
}
},
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Peel查看过的内容都不是仅为Intel构建的:包括“应用程序”文件夹和你在“设置”中添加的文件夹里的App、这些App内部包含的内容、插件、驱动程序、后台项目、/usr/local中的工具,以及Java运行时。"
+ "value" : "Peel查看过的内容都不是仅为Intel构建的:包括“应用程序”文件夹和你在“设置”中添加的文件夹里的App、这些App内部包含的内容、插件、驱动程序、后台项目、Java运行时,以及/usr/local、/opt/local、~/bin和~/.local/bin中的工具。"
}
},
"zh-Hant" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Peel檢查過的項目都不是僅為Intel建置的:包括「應用程式」檔案夾和你在「設定」中加入的檔案夾裡的App、App內含的項目、外掛模組、驅動程式、背景項目、/usr/local中的工具,以及Java執行環境。"
+ "value" : "Peel檢查過的項目都不是僅為Intel建置的:包括「應用程式」檔案夾和你在「設定」中加入的檔案夾裡的App、App內含的項目、外掛模組、驅動程式、背景項目、Java執行環境,以及/usr/local、/opt/local、~/bin和~/.local/bin中的工具。"
}
}
}
},
- "Nothing Peel looked at needs Rosetta: the apps in the Applications folders and the folders you added in Settings, what they carry inside, the plug-ins, the drivers, the background items, the tools in /usr/local, and the Java runtimes." : {
- "comment" : "Under Nothing Needs Rosetta on the Intel Software page. The folders you added are those in Settings > General > App Folders. Rosetta is Apple's name and stays as it is.",
+ "Nothing Peel looked at needs Rosetta: the apps in the Applications folders and the folders you added in Settings, what they carry inside, the plug-ins, the drivers, the background items, the Java runtimes, and the tools in /usr/local, /opt/local, ~/bin, and ~/.local/bin." : {
"localizations" : {
"cs" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Nic z toho, co Peel prověřil, nevyžaduje prostředí Rosetta: aplikace ve složkách Aplikace a ve složkách, které jste přidali v Nastavení, jejich vnitřní součásti, plug-iny, ovladače, položky na pozadí, nástroje v /usr/local a běhová prostředí Java."
+ "value" : "Nic z toho, co Peel prověřil, nevyžaduje prostředí Rosetta: aplikace ve složkách Aplikace a ve složkách, které jste přidali v Nastavení, jejich vnitřní součásti, plug-iny, ovladače, položky na pozadí, běhová prostředí Java a nástroje v /usr/local, /opt/local, ~/bin a ~/.local/bin."
}
},
"de" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Nichts, was Peel geprüft hat, benötigt Rosetta: die Apps in den Ordnern „Programme“ und in den Ordnern, die du in den Einstellungen hinzugefügt hast, was sie in sich tragen, die Plug-ins, die Treiber, die Hintergrundobjekte, die Tools in /usr/local und die Java-Laufzeitumgebungen."
+ "value" : "Nichts, was Peel geprüft hat, benötigt Rosetta: die Apps in den Ordnern „Programme“ und in den Ordnern, die du in den Einstellungen hinzugefügt hast, was sie in sich tragen, die Plug-ins, die Treiber, die Hintergrundobjekte, die Java-Laufzeitumgebungen und die Tools in /usr/local, /opt/local, ~/bin und ~/.local/bin."
}
},
"es" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Nada de lo que Peel ha revisado necesita Rosetta: las apps de las carpetas Aplicaciones y de las carpetas que has añadido en Ajustes, lo que llevan dentro, los módulos, los drivers, los ítems en segundo plano, las herramientas de /usr/local y los entornos de ejecución de Java."
+ "value" : "Nada de lo que Peel ha revisado necesita Rosetta: las apps de las carpetas Aplicaciones y de las carpetas que has añadido en Ajustes, lo que llevan dentro, los módulos, los drivers, los ítems en segundo plano, los entornos de ejecución de Java y las herramientas de /usr/local, /opt/local, ~/bin y ~/.local/bin."
}
},
"fr" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Rien de ce que Peel a examiné ne nécessite Rosetta : les apps des dossiers Applications et des dossiers que vous avez ajoutés dans les Réglages, ce qu’elles contiennent, les modules, les gestionnaires, les éléments en arrière-plan, les outils de /usr/local et les environnements d’exécution Java."
+ "value" : "Rien de ce que Peel a examiné ne nécessite Rosetta : les apps des dossiers Applications et des dossiers que vous avez ajoutés dans les Réglages, ce qu’elles contiennent, les modules, les gestionnaires, les éléments en arrière-plan, les environnements d’exécution Java et les outils de /usr/local, de /opt/local, de ~/bin et de ~/.local/bin."
}
},
"it" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Nulla di ciò che Peel ha esaminato richiede Rosetta: le app nelle cartelle Applicazioni e nelle cartelle che hai aggiunto nelle Impostazioni, ciò che contengono, i plugin, i driver, gli elementi in background, gli strumenti in /usr/local e i runtime Java."
+ "value" : "Nulla di ciò che Peel ha esaminato richiede Rosetta: le app nelle cartelle Applicazioni e nelle cartelle che hai aggiunto nelle Impostazioni, ciò che contengono, i plugin, i driver, gli elementi in background, i runtime Java e gli strumenti in /usr/local, /opt/local, ~/bin e ~/.local/bin."
}
},
"ja" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Peelが調べたもの(“アプリケーション”フォルダと“設定”で追加したフォルダにあるアプリ、アプリの内部にあるもの、プラグイン、ドライバ、バックグラウンド項目、/usr/localにあるツール、Javaランタイム)には、Rosettaが必要なものはありません。"
+ "value" : "Peelが調べたもの(“アプリケーション”フォルダと“設定”で追加したフォルダにあるアプリ、アプリの内部にあるもの、プラグイン、ドライバ、バックグラウンド項目、Javaランタイム、/usr/local、/opt/local、~/bin、~/.local/binの各フォルダにあるツール)には、Rosettaが必要なものはありません。"
}
},
"ko" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Peel이 살펴본 응용 프로그램 폴더와 설정에서 추가한 폴더의 앱, 앱 내부의 구성 요소, 플러그인, 드라이버, 백그라운드 항목, /usr/local의 도구, Java 런타임 중 Rosetta가 필요한 항목은 없습니다."
+ "value" : "Peel이 살펴본 응용 프로그램 폴더와 설정에서 추가한 폴더의 앱, 앱 내부의 구성 요소, 플러그인, 드라이버, 백그라운드 항목, Java 런타임 및 /usr/local, /opt/local, ~/bin, ~/.local/bin의 도구 중 Rosetta가 필요한 항목은 없습니다."
}
},
"nl" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Niets van wat Peel heeft bekeken, heeft Rosetta nodig: de apps in de mappen 'Apps' en in de mappen die je in Instellingen hebt toegevoegd, wat erin zit, de plug-ins, de besturingsbestanden, de achtergrondonderdelen, de tools in /usr/local en de Java-runtimes."
+ "value" : "Niets van wat Peel heeft bekeken, heeft Rosetta nodig: de apps in de mappen 'Apps' en in de mappen die je in Instellingen hebt toegevoegd, wat erin zit, de plug-ins, de besturingsbestanden, de achtergrondonderdelen, de Java-runtimes en de tools in /usr/local, /opt/local, ~/bin en ~/.local/bin."
}
},
"pl" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Nic z tego, co sprawdził Peel, nie wymaga Rosetty: aplikacje w folderach Aplikacje i w folderach dodanych przez Ciebie w Ustawieniach, ich zawartość, wtyczki, sterowniki, rzeczy działające w tle, narzędzia w /usr/local i środowiska uruchomieniowe Java."
+ "value" : "Nic z tego, co sprawdził Peel, nie wymaga Rosetty: aplikacje w folderach Aplikacje i w folderach dodanych przez Ciebie w Ustawieniach, ich zawartość, wtyczki, sterowniki, rzeczy działające w tle, środowiska uruchomieniowe Java i narzędzia w /usr/local, /opt/local, ~/bin i ~/.local/bin."
}
},
"pt" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Nada do que o Peel examinou precisa do Rosetta: os apps das pastas Aplicativos e das pastas que você adicionou nos Ajustes, o que eles trazem dentro, os plug-ins, os drivers, os itens em segundo plano, as ferramentas em /usr/local e os runtimes Java."
+ "value" : "Nada do que o Peel examinou precisa do Rosetta: os apps das pastas Aplicativos e das pastas que você adicionou nos Ajustes, o que eles trazem dentro, os plug-ins, os drivers, os itens em segundo plano, os runtimes Java e as ferramentas em /usr/local, /opt/local, ~/bin e ~/.local/bin."
}
},
"ro" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Nimic din ce a examinat Peel nu are nevoie de Rosetta: aplicațiile din dosarele Aplicații și din dosarele pe care le‑ați adăugat în Configurări, ce conțin aceste aplicații, plug-inurile, driverele, articolele de fundal, instrumentele din /usr/local și mediile de rulare Java."
+ "value" : "Nimic din ce a examinat Peel nu are nevoie de Rosetta: aplicațiile din dosarele Aplicații și din dosarele pe care le‑ați adăugat în Configurări, ce conțin aceste aplicații, plug-inurile, driverele, articolele de fundal, mediile de rulare Java și instrumentele din /usr/local, /opt/local, ~/bin și ~/.local/bin."
}
},
"ru" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Ничему из того, что проверил Peel, не нужна Rosetta: ни приложениям в папках «Программы» и в папках, добавленных Вами в Настройках, ни тому, что у них внутри, ни плагинам, ни драйверам, ни фоновым объектам, ни инструментам в /usr/local, ни средам выполнения Java."
+ "value" : "Ничему из того, что проверил Peel, не нужна Rosetta: ни приложениям в папках «Программы» и в папках, добавленных Вами в Настройках, ни тому, что у них внутри, ни плагинам, ни драйверам, ни фоновым объектам, ни средам выполнения Java, ни инструментам в /usr/local, /opt/local, ~/bin и ~/.local/bin."
}
},
"sv" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Inget som Peel har tittat på behöver Rosetta: apparna i mapparna Appar och i de mappar som du har lagt till i Inställningar, det de bär med sig inuti, insticksfilerna, drivrutinerna, bakgrundsobjekten, verktygen i /usr/local och Java-körmiljöerna."
+ "value" : "Inget som Peel har tittat på behöver Rosetta: apparna i mapparna Appar och i de mappar som du har lagt till i Inställningar, det de bär med sig inuti, insticksfilerna, drivrutinerna, bakgrundsobjekten, Java-körmiljöerna och verktygen i /usr/local, /opt/local, ~/bin och ~/.local/bin."
}
},
"tr" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Peel’in baktığı hiçbir şey Rosetta gerektirmiyor: Uygulamalar klasörlerindeki ve Ayarlar’da eklediğiniz klasörlerdeki uygulamalar, içlerinde taşıdıkları, yazılım ekleri, sürücüler, arka plan öğeleri, /usr/local içindeki araçlar ve Java çalışma ortamları."
+ "value" : "Peel’in baktığı hiçbir şey Rosetta gerektirmiyor: Uygulamalar klasörlerindeki ve Ayarlar’da eklediğiniz klasörlerdeki uygulamalar, içlerinde taşıdıkları, yazılım ekleri, sürücüler, arka plan öğeleri, Java çalışma ortamları ve /usr/local, /opt/local, ~/bin ve ~/.local/bin içindeki araçlar."
}
},
"uk" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Ніщо з того, що переглянула Peel, не потребує Rosetta: програми в папках «Програми» і в папках, які ви додали в Параметрах, те, що вони містять усередині, плагіни, драйвери, фонові елементи, інструменти в /usr/local та середовища виконання Java."
+ "value" : "Ніщо з того, що переглянула Peel, не потребує Rosetta: програми в папках «Програми» і в папках, які ви додали в Параметрах, те, що вони містять усередині, плагіни, драйвери, фонові елементи, середовища виконання Java та інструменти в /usr/local, /opt/local, ~/bin і ~/.local/bin."
}
},
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Peel查看过的内容都不需要Rosetta:包括“应用程序”文件夹和你在“设置”中添加的文件夹里的App、这些App内部包含的内容、插件、驱动程序、后台项目、/usr/local中的工具,以及Java运行时。"
+ "value" : "Peel查看过的内容都不需要Rosetta:包括“应用程序”文件夹和你在“设置”中添加的文件夹里的App、这些App内部包含的内容、插件、驱动程序、后台项目、Java运行时,以及/usr/local、/opt/local、~/bin和~/.local/bin中的工具。"
}
},
"zh-Hant" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Peel檢查過的項目都不需要Rosetta:包括「應用程式」檔案夾和你在「設定」中加入的檔案夾裡的App、App內含的項目、外掛模組、驅動程式、背景項目、/usr/local中的工具,以及Java執行環境。"
+ "value" : "Peel檢查過的項目都不需要Rosetta:包括「應用程式」檔案夾和你在「設定」中加入的檔案夾裡的App、App內含的項目、外掛模組、驅動程式、背景項目、Java執行環境,以及/usr/local、/opt/local、~/bin和~/.local/bin中的工具。"
}
}
}
@@ -221957,6 +221956,218 @@
}
}
},
+ "This tool from MacPorts is Intel only, so it needs Rosetta to run. MacPorts reinstalls its ports for this Mac with `sudo port migrate`." : {
+ "localizations" : {
+ "cs" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Tento nástroj z MacPorts je jen pro procesory Intel, takže ke spuštění potřebuje prostředí Rosetta. MacPorts znovu nainstaluje své porty pro tento Mac příkazem `sudo port migrate`."
+ }
+ },
+ "de" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Dieses Tool von MacPorts ist nur für Intel, daher benötigt es Rosetta, um zu laufen. MacPorts installiert seine Ports mit `sudo port migrate` für diesen Mac neu."
+ }
+ },
+ "es" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Esta herramienta de MacPorts es solo para Intel, así que necesita Rosetta para ejecutarse. MacPorts reinstala sus ports para este Mac con `sudo port migrate`."
+ }
+ },
+ "fr" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Cet outil de MacPorts n’existe qu’en version Intel : il a donc besoin de Rosetta pour s’exécuter. MacPorts réinstalle ses ports pour ce Mac avec `sudo port migrate`."
+ }
+ },
+ "it" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Questo strumento di MacPorts è solo per Intel, quindi per funzionare richiede Rosetta. MacPorts reinstalla i suoi port per questo Mac con `sudo port migrate`."
+ }
+ },
+ "ja" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "MacPortsのこのツールはIntel専用のため、実行するにはRosettaが必要です。MacPortsは、インストール済みのポートを`sudo port migrate`でこのMac用に再インストールします。"
+ }
+ },
+ "ko" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "MacPorts의 이 도구는 Intel 전용이므로 실행하려면 Rosetta가 필요합니다. MacPorts는 `sudo port migrate` 명령으로 설치된 포트를 이 Mac에 맞게 다시 설치합니다."
+ }
+ },
+ "nl" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Deze tool van MacPorts is alleen voor Intel en heeft dus Rosetta nodig om te werken. Met `sudo port migrate` installeert MacPorts zijn ports opnieuw voor deze Mac."
+ }
+ },
+ "pl" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "To narzędzie z MacPorts jest tylko dla procesorów Intel, więc do działania potrzebuje Rosetty. MacPorts ponownie instaluje swoje porty dla tego Maca za pomocą polecenia `sudo port migrate`."
+ }
+ },
+ "pt" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Esta ferramenta do MacPorts é só para Intel, então precisa do Rosetta para ser executada. O MacPorts reinstala os ports dele para este Mac com `sudo port migrate`."
+ }
+ },
+ "ro" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Acest instrument din MacPorts este doar pentru Intel, așa că are nevoie de Rosetta pentru a rula. MacPorts își reinstalează porturile pentru acest Mac cu `sudo port migrate`."
+ }
+ },
+ "ru" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Этот инструмент из MacPorts собран только для Intel, поэтому для работы ему нужна Rosetta. MacPorts переустанавливает свои порты для этого Mac командой `sudo port migrate`."
+ }
+ },
+ "sv" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Det här verktyget från MacPorts är bara för Intel, så det behöver Rosetta för att köras. MacPorts installerar om sina portar för den här datorn med `sudo port migrate`."
+ }
+ },
+ "tr" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "MacPorts’tan gelen bu araç yalnızca Intel içindir, bu yüzden çalışması için Rosetta gerekir. MacPorts, port paketlerini `sudo port migrate` ile bu Mac için yeniden yükler."
+ }
+ },
+ "uk" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Цей інструмент із MacPorts призначений лише для Intel, тож для роботи потребує Rosetta. MacPorts перевстановлює свої порти для цього Mac командою `sudo port migrate`."
+ }
+ },
+ "zh-Hans" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "来自MacPorts的此工具仅支持Intel,因此需要Rosetta才能运行。MacPorts使用`sudo port migrate`为这台Mac重新安装其ports。"
+ }
+ },
+ "zh-Hant" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "來自MacPorts的此工具僅支援Intel,因此需要Rosetta才能執行。MacPorts會使用`sudo port migrate`為這部Mac重新安裝它的ports。"
+ }
+ }
+ }
+ },
+ "This tool from MacPorts is Intel only. On this Intel Mac it runs natively." : {
+ "localizations" : {
+ "cs" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Tento nástroj z MacPorts je jen pro procesory Intel. Na tomto Macu s procesorem Intel běží nativně."
+ }
+ },
+ "de" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Dieses Tool von MacPorts ist nur für Intel. Auf diesem Intel-Mac läuft es nativ."
+ }
+ },
+ "es" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Esta herramienta de MacPorts es solo para Intel. En este Mac con procesador Intel se ejecuta de forma nativa."
+ }
+ },
+ "fr" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Cet outil de MacPorts n’existe qu’en version Intel. Sur ce Mac à processeur Intel, il s’exécute en natif."
+ }
+ },
+ "it" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Questo strumento di MacPorts è solo per Intel. Su questo Mac Intel funziona in modo nativo."
+ }
+ },
+ "ja" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "MacPortsのこのツールはIntel専用です。このIntel搭載Macではネイティブに動作します。"
+ }
+ },
+ "ko" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "MacPorts의 이 도구는 Intel 전용입니다. 이 Intel Mac에서는 네이티브로 실행됩니다."
+ }
+ },
+ "nl" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Deze tool van MacPorts is alleen voor Intel. Op deze Intel-Mac werkt die native."
+ }
+ },
+ "pl" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "To narzędzie z MacPorts jest tylko dla procesorów Intel. Na tym Macu z procesorem Intel działa natywnie."
+ }
+ },
+ "pt" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Esta ferramenta do MacPorts é só para Intel. Neste Mac com Intel, ela é executada nativamente."
+ }
+ },
+ "ro" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Acest instrument din MacPorts este doar pentru Intel. Pe acest Mac cu Intel rulează nativ."
+ }
+ },
+ "ru" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Этот инструмент из MacPorts собран только для Intel. На этом Mac с процессором Intel он работает нативно."
+ }
+ },
+ "sv" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Det här verktyget från MacPorts är bara för Intel. På den här Intel-baserade datorn körs det utan Rosetta."
+ }
+ },
+ "tr" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "MacPorts’tan gelen bu araç yalnızca Intel içindir. Intel işlemcili bu Mac’te yerel olarak çalışır."
+ }
+ },
+ "uk" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Цей інструмент із MacPorts призначений лише для Intel. На цьому Mac з процесором Intel він працює нативно."
+ }
+ },
+ "zh-Hans" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "来自MacPorts的此工具仅支持Intel。在这台Intel Mac上,它以原生方式运行。"
+ }
+ },
+ "zh-Hant" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "來自MacPorts的此工具僅支援Intel。在這部Intel Mac上,它以原生方式執行。"
+ }
+ }
+ }
+ },
"This tool in /usr/local is Intel only, so it needs Rosetta to run." : {
"localizations" : {
"cs" : {
@@ -222169,6 +222380,218 @@
}
}
},
+ "This tool in your home folder is Intel only, so it needs Rosetta to run. If its maker offers a version for Apple silicon, install that one instead." : {
+ "localizations" : {
+ "cs" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Tento nástroj ve vaší domovské složce je jen pro procesory Intel, takže ke spuštění potřebuje prostředí Rosetta. Pokud výrobce nabízí verzi pro čipy Apple, nainstalujte raději ji."
+ }
+ },
+ "de" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Dieses Tool in deinem Benutzerordner ist nur für Intel, daher benötigt es Rosetta, um zu laufen. Wenn der Hersteller eine Version für Apple Chips anbietet, installiere stattdessen diese."
+ }
+ },
+ "es" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Esta herramienta de tu carpeta de inicio es solo para Intel, así que necesita Rosetta para ejecutarse. Si su fabricante ofrece una versión compatible con el chip de Apple, instala esa en su lugar."
+ }
+ },
+ "fr" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Cet outil de votre dossier de départ n’existe qu’en version Intel : il a donc besoin de Rosetta pour s’exécuter. Si son éditeur propose une version pour puce Apple, installez plutôt celle-ci."
+ }
+ },
+ "it" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Questo strumento nella tua cartella Inizio è solo per Intel, quindi per funzionare richiede Rosetta. Se il suo produttore offre una versione per Mac con chip Apple, installa quella."
+ }
+ },
+ "ja" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "ホームフォルダにあるこのツールはIntel専用のため、実行するにはRosettaが必要です。開発元がAppleシリコン対応のバージョンを提供している場合は、代わりにそちらをインストールしてください。"
+ }
+ },
+ "ko" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "홈 폴더에 있는 이 도구는 Intel 전용이므로 실행하려면 Rosetta가 필요합니다. 제작자가 Apple silicon용 버전을 제공한다면 대신 그 버전을 설치하십시오."
+ }
+ },
+ "nl" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Deze tool in je thuismap is alleen voor Intel en heeft dus Rosetta nodig om te werken. Als de maker een versie voor Apple silicon aanbiedt, installeer die dan in plaats van deze."
+ }
+ },
+ "pl" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "To narzędzie w Twoim folderze domowym jest tylko dla procesorów Intel, więc do działania potrzebuje Rosetty. Jeśli jego producent oferuje wersję dla układów scalonych Apple, zainstaluj zamiast niego tamtą wersję."
+ }
+ },
+ "pt" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Esta ferramenta na sua pasta pessoal é só para Intel, então precisa do Rosetta para ser executada. Se o fabricante oferecer uma versão para Apple silicon, instale essa versão em vez desta."
+ }
+ },
+ "ro" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Acest instrument din dosarul dvs. de reședință este doar pentru Intel, așa că are nevoie de Rosetta pentru a rula. Dacă producătorul lui oferă o versiune pentru cip Apple, instalați‑o pe aceea."
+ }
+ },
+ "ru" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Этот инструмент в Вашей папке пользователя собран только для Intel, поэтому для работы ему нужна Rosetta. Если производитель предлагает версию для чипов Apple, лучше установите ее."
+ }
+ },
+ "sv" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Det här verktyget i din hemmapp är bara för Intel, så det behöver Rosetta för att köras. Om tillverkaren erbjuder en version för Apple Silicon installerar du den i stället."
+ }
+ },
+ "tr" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Ana klasörünüzdeki bu araç yalnızca Intel içindir, bu yüzden çalışması için Rosetta gerekir. Üreticisi Apple Silicon için bir sürüm sunuyorsa bunun yerine o sürümü yükleyin."
+ }
+ },
+ "uk" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Цей інструмент у вашій Домівці призначений лише для Intel, тож для роботи потребує Rosetta. Якщо виробник пропонує версію для Apple Silicon, інсталюйте натомість її."
+ }
+ },
+ "zh-Hans" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "你的个人文件夹中的此工具仅支持Intel,因此需要Rosetta才能运行。如果其厂商提供适用于Apple芯片的版本,请改为安装该版本。"
+ }
+ },
+ "zh-Hant" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "你的個人專屬檔案夾中的此工具僅支援Intel,因此需要Rosetta才能執行。如果它的廠商提供適用於Apple晶片的版本,請改為安裝該版本。"
+ }
+ }
+ }
+ },
+ "This tool in your home folder is Intel only. On this Intel Mac it runs natively." : {
+ "localizations" : {
+ "cs" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Tento nástroj ve vaší domovské složce je jen pro procesory Intel. Na tomto Macu s procesorem Intel běží nativně."
+ }
+ },
+ "de" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Dieses Tool in deinem Benutzerordner ist nur für Intel. Auf diesem Intel-Mac läuft es nativ."
+ }
+ },
+ "es" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Esta herramienta de tu carpeta de inicio es solo para Intel. En este Mac con procesador Intel se ejecuta de forma nativa."
+ }
+ },
+ "fr" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Cet outil de votre dossier de départ n’existe qu’en version Intel. Sur ce Mac à processeur Intel, il s’exécute en natif."
+ }
+ },
+ "it" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Questo strumento nella tua cartella Inizio è solo per Intel. Su questo Mac Intel funziona in modo nativo."
+ }
+ },
+ "ja" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "ホームフォルダにあるこのツールはIntel専用です。このIntel搭載Macではネイティブに動作します。"
+ }
+ },
+ "ko" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "홈 폴더에 있는 이 도구는 Intel 전용입니다. 이 Intel Mac에서는 네이티브로 실행됩니다."
+ }
+ },
+ "nl" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Deze tool in je thuismap is alleen voor Intel. Op deze Intel-Mac werkt die native."
+ }
+ },
+ "pl" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "To narzędzie w Twoim folderze domowym jest tylko dla procesorów Intel. Na tym Macu z procesorem Intel działa natywnie."
+ }
+ },
+ "pt" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Esta ferramenta na sua pasta pessoal é só para Intel. Neste Mac com Intel, ela é executada nativamente."
+ }
+ },
+ "ro" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Acest instrument din dosarul dvs. de reședință este doar pentru Intel. Pe acest Mac cu Intel rulează nativ."
+ }
+ },
+ "ru" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Этот инструмент в Вашей папке пользователя собран только для Intel. На этом Mac с процессором Intel он работает нативно."
+ }
+ },
+ "sv" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Det här verktyget i din hemmapp är bara för Intel. På den här Intel-baserade datorn körs det utan Rosetta."
+ }
+ },
+ "tr" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Ana klasörünüzdeki bu araç yalnızca Intel içindir. Intel işlemcili bu Mac’te yerel olarak çalışır."
+ }
+ },
+ "uk" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Цей інструмент у вашій Домівці призначений лише для Intel. На цьому Mac з процесором Intel він працює нативно."
+ }
+ },
+ "zh-Hans" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "你的个人文件夹中的此工具仅支持Intel。在这台Intel Mac上,它以原生方式运行。"
+ }
+ },
+ "zh-Hant" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "你的個人專屬檔案夾中的此工具僅支援Intel。在這部Intel Mac上,它以原生方式執行。"
+ }
+ }
+ }
+ },
"This update came with no notes." : {
"localizations" : {
"cs" : {
diff --git a/Packages/PeelCore/Sources/PeelCore/Apps/IntelInspector.swift b/Packages/PeelCore/Sources/PeelCore/Apps/IntelInspector.swift
index 27e7f1f1..3d9796ef 100644
--- a/Packages/PeelCore/Sources/PeelCore/Apps/IntelInspector.swift
+++ b/Packages/PeelCore/Sources/PeelCore/Apps/IntelInspector.swift
@@ -32,8 +32,18 @@ public struct IntelFinding: Sendable, Hashable, Identifiable {
public var prefersIntel = false
/// For a plug-in or a part inside an app, the kind nothing on macOS loads anymore (`Plugins.noLongerLoaded`).
public var noLongerLoaded: Plugin.NoLongerLoaded?
+ public var commandFolder: CommandFolder?
public var id: URL { url }
+
+ public enum CommandFolder: Sendable, Hashable {
+ case usrLocal
+ /// MacPorts' `/opt/local`, whose ports `sudo port migrate` reinstalls after a move to another kind of Mac
+ /// (MacPorts' Migration guide).
+ case macPorts
+ /// The home's `bin` and `.local/bin`.
+ case home
+ }
}
public struct IntelScan: Sendable {
@@ -77,10 +87,17 @@ public enum IntelInspector {
.flatMap { library in folders.map { library.appending(path: $0).path(percentEncoded: false) } }
}
- static func toolDirectories(_ environment: SearchEnvironment) -> [String] {
- ["usr/local/bin", "usr/local/sbin", "usr/local/libexec"].map {
- environment.rootDirectory.appending(path: $0).path(percentEncoded: false)
+ static func toolDirectories(
+ _ environment: SearchEnvironment
+ ) -> [(folders: [String], place: IntelFinding.CommandFolder)] {
+ func under(_ base: URL, _ paths: [String]) -> [String] {
+ paths.map { base.appending(path: $0).path(percentEncoded: false) }
}
+ return [
+ (under(environment.rootDirectory, ["usr/local/bin", "usr/local/sbin", "usr/local/libexec"]), .usrLocal),
+ (under(environment.rootDirectory, ["opt/local/bin", "opt/local/sbin", "opt/local/libexec"]), .macPorts),
+ (under(environment.homeDirectory, ["bin", ".local/bin"]), .home),
+ ]
}
/// Folders inside an app that hold code of its own, as processes or as plug-ins the app loads, so an Intel-only one
@@ -264,18 +281,21 @@ public enum IntelInspector {
listed.append(path)
}
- for tool in tools(in: toolDirectories(environment), unreadable: &unreadable)
- where !Task.isCancelled && !exclusions.excludes(tool.url) {
- let path = PathPattern.comparablePath(of: tool.url)
- guard !listed.contains(where: { PathComponents.isPath(path, atOrInside: $0) }) else { continue }
- guard isIntelOnly(executable: tool.url, unreadable: &unreadable), isNew(tool.url) else { continue }
- findings.append(IntelFinding(
- url: tool.url,
- kind: .commandLineTool,
- name: tool.name,
- owner: nil,
- size: nil,
- ))
+ for (folders, place) in toolDirectories(environment) {
+ for tool in tools(in: folders, unreadable: &unreadable)
+ where !Task.isCancelled && !exclusions.excludes(tool.url) {
+ let path = PathPattern.comparablePath(of: tool.url)
+ guard !listed.contains(where: { PathComponents.isPath(path, atOrInside: $0) }) else { continue }
+ guard isIntelOnly(executable: tool.url, unreadable: &unreadable), isNew(tool.url) else { continue }
+ findings.append(IntelFinding(
+ url: tool.url,
+ kind: .commandLineTool,
+ name: tool.name,
+ owner: nil,
+ size: nil,
+ commandFolder: place
+ ))
+ }
}
// Measured once everything is found, a few at a time, as the other scans measure. The Applications list has
diff --git a/Packages/PeelCore/Tests/PeelCoreTests/IntelInspectorTests.swift b/Packages/PeelCore/Tests/PeelCoreTests/IntelInspectorTests.swift
index 800cf115..f041a6ba 100644
--- a/Packages/PeelCore/Tests/PeelCoreTests/IntelInspectorTests.swift
+++ b/Packages/PeelCore/Tests/PeelCoreTests/IntelInspectorTests.swift
@@ -449,6 +449,30 @@ struct IntelInspectorTests {
#expect(tools.map { PathPattern.comparablePath(of: $0.url) } == [PathPattern.comparablePath(of: program)])
}
+ @Test func findsTheIntelCommandsOfMacPortsAndOfTheHomesFoldersOfPrograms() async throws {
+ let directory = try TemporaryDirectory()
+ for path in ["root/usr/local/bin/brewed", "root/opt/local/bin/ported", "home/bin/legacy", "home/.local/bin/cli"] {
+ try directory.setPermissions(0o755, of: try directory.file(path, contents: fatHeader([intel])))
+ }
+ let native = try directory.file("root/opt/local/bin/jq", contents: fatHeader([appleSilicon]))
+ try directory.setPermissions(0o755, of: native)
+
+ let scan = await IntelInspector.scan(
+ installedApps: [],
+ exclusions: .none,
+ environment: SearchEnvironment(
+ homeDirectory: directory.url.appending(path: "home", directoryHint: .isDirectory),
+ rootDirectory: directory.url.appending(path: "root", directoryHint: .isDirectory)
+ ),
+ measure: { _ in 1 }
+ )
+ let found = Dictionary(
+ uniqueKeysWithValues: scan.findings(of: .commandLineTool).map { ($0.name, $0.commandFolder) }
+ )
+
+ #expect(found == ["brewed": .usrLocal, "ported": .macPorts, "legacy": .home, "cli": .home])
+ }
+
@Test func findsTheIntelOnlyJavaRuntimesInEitherLibrary() async throws {
let directory = try TemporaryDirectory()
try javaRuntime(directory, "home/Library/Java/JavaVirtualMachines/jdk-21.0.13+9", [intel], name: "OpenJDK 21.0.13")
diff --git a/Peel/Model/IntelLibrary.swift b/Peel/Model/IntelLibrary.swift
index 7cf4f7b3..7814bcfa 100644
--- a/Peel/Model/IntelLibrary.swift
+++ b/Peel/Model/IntelLibrary.swift
@@ -117,6 +117,23 @@ extension IntelFinding.Kind {
}
}
+extension IntelFinding.CommandFolder {
+ /// Nil for `/usr/local`'s, which the kind explains.
+ func explanation(onAppleSilicon: Bool) -> LocalizedStringResource? {
+ switch self {
+ case .usrLocal: nil
+ case .macPorts:
+ onAppleSilicon
+ ? "This tool from MacPorts is Intel only, so it needs Rosetta to run. MacPorts reinstalls its ports for this Mac with `sudo port migrate`."
+ : "This tool from MacPorts is Intel only. On this Intel Mac it runs natively."
+ case .home:
+ onAppleSilicon
+ ? "This tool in your home folder is Intel only, so it needs Rosetta to run. If its maker offers a version for Apple silicon, install that one instead."
+ : "This tool in your home folder is Intel only. On this Intel Mac it runs natively."
+ }
+ }
+}
+
extension IntelFinding {
/// Explains the finding, a plug-in by where its Intel code can load (`Plugin.Category.intelHost`).
func explanation(onAppleSilicon: Bool) -> LocalizedStringResource {
@@ -128,6 +145,9 @@ extension IntelFinding {
? "This part inside the app is Intel only, and macOS no longer loads parts of its kind, with or without Rosetta."
: "This plug-in is Intel only, and macOS no longer loads plug-ins of its kind, with or without Rosetta."
}
+ if kind == .commandLineTool, let words = commandFolder?.explanation(onAppleSilicon: onAppleSilicon) {
+ return words
+ }
guard onAppleSilicon, kind == .plugin else { return kind.explanation(onAppleSilicon: onAppleSilicon) }
return switch pluginCategory?.intelHost {
case .insideTheApp:
diff --git a/Peel/Views/Intel/IntelList.swift b/Peel/Views/Intel/IntelList.swift
index 46e853a7..fec24db3 100644
--- a/Peel/Views/Intel/IntelList.swift
+++ b/Peel/Views/Intel/IntelList.swift
@@ -72,7 +72,7 @@ struct IntelList: View {
Label("Nothing Needs Rosetta", systemImage: "checkmark.seal")
} description: {
VStack(spacing: 6) {
- Text("Nothing Peel looked at needs Rosetta: the apps in the Applications folders and the folders you added in Settings, what they carry inside, the plug-ins, the drivers, the background items, the tools in /usr/local, and the Java runtimes.")
+ Text("Nothing Peel looked at needs Rosetta: the apps in the Applications folders and the folders you added in Settings, what they carry inside, the plug-ins, the drivers, the background items, the Java runtimes, and the tools in /usr/local, /opt/local, ~/bin, and ~/.local/bin.")
Text("The Intel-based Apps list in System Settings > General > About names the apps macOS 28 won’t run, including some outside the folders Peel looks in.")
}
} actions: {
@@ -85,8 +85,8 @@ struct IntelList: View {
// The description claims only what Peel looked at, since Intel plug-ins can be missed, and the
// macOS 27 release notes say some may not appear even in System Settings.
description: HostArchitecture.isAppleSilicon
- ? Text("Nothing Peel looked at needs Rosetta: the apps in the Applications folders and the folders you added in Settings, what they carry inside, the plug-ins, the drivers, the background items, the tools in /usr/local, and the Java runtimes.")
- : Text("Nothing Peel looked at is built for Intel only: the apps in the Applications folders and the folders you added in Settings, what they carry inside, the plug-ins, the drivers, the background items, the tools in /usr/local, and the Java runtimes.")
+ ? Text("Nothing Peel looked at needs Rosetta: the apps in the Applications folders and the folders you added in Settings, what they carry inside, the plug-ins, the drivers, the background items, the Java runtimes, and the tools in /usr/local, /opt/local, ~/bin, and ~/.local/bin.")
+ : Text("Nothing Peel looked at is built for Intel only: the apps in the Applications folders and the folders you added in Settings, what they carry inside, the plug-ins, the drivers, the background items, the Java runtimes, and the tools in /usr/local, /opt/local, ~/bin, and ~/.local/bin.")
)
}
}
diff --git a/PeelTests/IntelExplanationTests.swift b/PeelTests/IntelExplanationTests.swift
index f70bd916..9effd43a 100644
--- a/PeelTests/IntelExplanationTests.swift
+++ b/PeelTests/IntelExplanationTests.swift
@@ -22,6 +22,23 @@ struct IntelExplanationTests {
#expect(String(localized: plugin(.vst3).explanation(onAppleSilicon: false)) == String(localized: "This plug-in is Intel only. On this Intel Mac it loads natively."))
}
+ @Test func saysWhereAnIntelCommandIsAndMacPortsOwnStep() {
+ func words(_ place: IntelFinding.CommandFolder?, onAppleSilicon: Bool = true) -> String {
+ var command = IntelFinding(
+ url: URL(filePath: "/opt/local/bin/tool"), kind: .commandLineTool, name: "tool", owner: nil, size: 10
+ )
+ command.commandFolder = place
+ return String(localized: command.explanation(onAppleSilicon: onAppleSilicon))
+ }
+
+ #expect(words(.macPorts) == String(localized: "This tool from MacPorts is Intel only, so it needs Rosetta to run. MacPorts reinstalls its ports for this Mac with `sudo port migrate`."))
+ #expect(words(.home) == String(localized: "This tool in your home folder is Intel only, so it needs Rosetta to run. If its maker offers a version for Apple silicon, install that one instead."))
+ #expect(words(.home, onAppleSilicon: false) == String(localized: "This tool in your home folder is Intel only. On this Intel Mac it runs natively."))
+ #expect(words(.macPorts, onAppleSilicon: false) == String(localized: "This tool from MacPorts is Intel only. On this Intel Mac it runs natively."))
+ #expect(words(.usrLocal) == String(localized: "This tool in /usr/local is Intel only, so it needs Rosetta to run."))
+ #expect(words(nil) == words(.usrLocal))
+ }
+
@Test func saysNothingLoadsAPlugInOfAKindMacOSLeftBehind() {
var generator = plugin(.quickLook)
generator.noLongerLoaded = .quickLookGenerator