Fix app path requirements check

This commit is contained in:
Sizhe Zhao authored and 世界 committed 2026-02-27 15:17:58 +08:00
1 parent b92e63ef88
commit f430a0a7cb
1 file changed
+1 -1
+1 -1
View File
@@ -71,7 +71,7 @@ public class MainViewModel: BaseViewModel {
}
private func checkApplicationPath() {
let directoryName = URL(filePath: Bundle.main.bundlePath).deletingLastPathComponent().pathComponents.last
let directoryName = URL(filePath: Bundle.main.bundlePath).deletingLastPathComponent().pathComponents.first
if directoryName != "Applications" {
alert = AlertState(
title: String(localized: "Wrong application location"),