Version 0.3.0, Selbstinstallation nach ~/Applications, Gatekeeper im README
Erster Start aus DMG oder Downloads bietet einmalig an, sich nach ~/Applications zu kopieren und von dort neu zu starten — der Weg dorthin braucht kein Administrator-Passwort, anders als /Applications. Ein DMG kann das nicht selbst leisten: der Applications-Alias darin ist ein absoluter Symlink auf /Applications. Die Kopie erbt per ditto die Quarantäne des Downloads, deshalb wird sie am Ziel gelöst — sonst käme beim Neustart erneut die Gatekeeper-Warnung für dieselbe, gerade laufende App. Ablehnen merkt sich die App (moveOfferDismissed), im Debug-Build fragt sie nie. README: ~/Applications als gleichwertiger Installationsort, dazu der Weg über System-Einstellungen -> Datenschutz & Sicherheit fuer alle, die kein Terminal aufmachen wollen. 0.8 ist fuer den Windows-Stand reserviert. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -44,6 +44,9 @@ pub(crate) fn focus_terminal(_pid: u32) {}
|
||||
|
||||
pub(crate) fn set_app_id(_name: &str) {}
|
||||
|
||||
/// Selbstinstallation gibt es nur unter macOS — hier installiert der NSIS-Setup.
|
||||
pub(crate) fn offer_move_to_applications(_paths: &crate::domain::paths::Paths) {}
|
||||
|
||||
pub(crate) fn reveal_path(path: &Path) {
|
||||
let _ = Command::new("explorer")
|
||||
.arg(format!("/select,{}", path.display()))
|
||||
|
||||
Reference in New Issue
Block a user