fix: restore mac app build

This commit is contained in:
Peter Steinberger
2025-12-19 22:08:17 +01:00
parent 2ef2136c2c
commit 56cb415509
2 changed files with 2 additions and 2 deletions

View File

@@ -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
}
}

View File

@@ -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) ?? ""