fix: restore mac app build
This commit is contained in:
@@ -219,7 +219,7 @@ struct CritterStatusLabel: View {
|
||||
switch self.gatewayStatus {
|
||||
case .failed, .stopped:
|
||||
!self.isPaused
|
||||
case .starting, .restarting, .running, .attachedExisting:
|
||||
case .starting, .running, .attachedExisting:
|
||||
false
|
||||
}
|
||||
}
|
||||
|
||||
@@ -241,7 +241,7 @@ final class GatewayProcessManager {
|
||||
CommandResolver.projectRootPath()
|
||||
}
|
||||
|
||||
private static func readGatewayLog(path: String, limit: Int) -> String {
|
||||
private nonisolated static func readGatewayLog(path: String, limit: Int) -> String {
|
||||
guard FileManager.default.fileExists(atPath: path) else { return "" }
|
||||
guard let data = try? Data(contentsOf: URL(fileURLWithPath: path)) else { return "" }
|
||||
let text = String(data: data, encoding: .utf8) ?? ""
|
||||
|
||||
Reference in New Issue
Block a user