fix mint installations

This commit is contained in:
Yonas Kolb
2018-07-11 20:15:39 +10:00
parent 6806c44576
commit be5da8c132
+3 -3
View File
@@ -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 {