mirror of
https://github.com/utmapp/UTM.git
synced 2026-10-12 02:24:01 +00:00
+1
-1
@@ -93,7 +93,7 @@ extension UTMAPICommand {
|
||||
private var utmAppUrl: URL {
|
||||
if let executableURL = Bundle.main.executableURL?.resolvingSymlinksInPath() {
|
||||
let utmURL = executableURL.deletingLastPathComponent().deletingLastPathComponent().deletingLastPathComponent()
|
||||
if utmURL.lastPathComponent == "UTM.app" {
|
||||
if utmURL.pathExtension == "app" {
|
||||
return utmURL
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user