From 6113bd12aa5ea8a997addea5a46b749bfc226141 Mon Sep 17 00:00:00 2001 From: Thierry Delafontaine Date: Mon, 23 Feb 2026 18:09:28 +0100 Subject: [PATCH] remove check for the executable to be in /Applications --- ProtonDrive-macOS/ProtonDriveMac/AppDelegate.swift | 9 --------- 1 file changed, 9 deletions(-) diff --git a/ProtonDrive-macOS/ProtonDriveMac/AppDelegate.swift b/ProtonDrive-macOS/ProtonDriveMac/AppDelegate.swift index 2c870b2..e790a58 100644 --- a/ProtonDrive-macOS/ProtonDriveMac/AppDelegate.swift +++ b/ProtonDrive-macOS/ProtonDriveMac/AppDelegate.swift @@ -55,15 +55,6 @@ class AppDelegate: NSObject, NSApplicationDelegate { super.init() setUpExtensionLaunchObserver() - -#if !HAS_QA_FEATURES - let executablePath = Bundle.main.executablePath ?? "" - if executablePath.hasPrefix("/Applications/") == false { - Task { - await handleError(NSError(domain: "", code: -1, responseDictionary: nil, localizedDescription: "This application must be run from the /Applications folder. \n Please move it there and run it again.")) - } - } -#endif } func applicationWillFinishLaunching(_ notification: Notification) {