mirror of
https://github.com/yonaskolb/XcodeGen.git
synced 2026-03-18 20:02:25 +00:00
fix SettingPreset path
This commit is contained in:
@@ -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