mirror of
https://github.com/yonaskolb/XcodeGen.git
synced 2026-11-18 20:15:11 +00:00
fix SettingPreset path
This commit is contained in:
1 parent
0618a49dfe
commit
6bc2ebef8e
1 file changed
+2
-1
@@ -64,7 +64,8 @@ extension SettingsPresetFile {
|
||||
return group
|
||||
}
|
||||
let relativePath = "SettingPresets/\(path).yml"
|
||||
var settingsPath = Path("../share/xcodegen/\(relativePath)")
|
||||
var settingsPath = Path(Bundle.main.bundlePath) + "../share/xcodegen/\(relativePath)"
|
||||
|
||||
if !settingsPath.exists {
|
||||
// maybe running locally
|
||||
settingsPath = Path(#file).parent().parent().parent() + relativePath
|
||||
|
||||
Reference in new issue
Block a user