mirror of
https://github.com/yonaskolb/XcodeGen.git
synced 2026-03-18 20:02:25 +00:00
fix mint installations
This commit is contained in:
@@ -156,10 +156,10 @@ extension SettingsPresetFile {
|
||||
Path(#file).parent().parent().parent() + relativePath,
|
||||
]
|
||||
|
||||
if let symlink = try? bundlePath.symlinkDestination() {
|
||||
if let symlink = try? (bundlePath + "xcodegen").symlinkDestination() {
|
||||
possibleSettingsPaths = [
|
||||
symlink + relativePath,
|
||||
] + possibleSettingsPaths
|
||||
symlink.parent() + relativePath,
|
||||
] + possibleSettingsPaths
|
||||
}
|
||||
|
||||
guard let settingsPath = possibleSettingsPaths.first(where: { $0.exists }) else {
|
||||
|
||||
Reference in New Issue
Block a user