Fix Linux bug
This commit is contained in:
parent
3fa699e9bf
commit
1fd63b8cc3
@ -27,11 +27,8 @@ struct Config: Codable {
|
||||
guard !logPath.hasPrefix("/") else {
|
||||
return .init(fileURLWithPath: logPath)
|
||||
}
|
||||
guard #available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) else {
|
||||
return resourcesDirectory.appendingPathComponent(logPath)
|
||||
}
|
||||
return resourcesDirectory.appending(path: logPath)
|
||||
}
|
||||
}
|
||||
|
||||
extension Config {
|
||||
|
Loading…
Reference in New Issue
Block a user