Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions ProtonDrive-macOS/ProtonDriveMac/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down