chore: import upstream snapshot with attribution

This commit is contained in:
wehub-resource-sync
2026-07-13 12:22:33 +08:00
commit fc4fcbab58
1848 changed files with 472303 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
import Foundation
enum InstallOrigin {
static func isHomebrewCask(appBundleURL: URL) -> Bool {
let resolved = appBundleURL.resolvingSymlinksInPath()
let path = resolved.path
return path.contains("/Caskroom/") || path.contains("/Homebrew/Caskroom/")
}
}