fix(macos): treat tests as preview
This commit is contained in:
parent
e961e02f71
commit
6f496b7739
1 changed files with 1 additions and 1 deletions
|
|
@ -204,7 +204,7 @@ final class AppState {
|
|||
private var earBoostTask: Task<Void, Never>?
|
||||
|
||||
init(preview: Bool = false) {
|
||||
self.isPreview = preview
|
||||
self.isPreview = preview || ProcessInfo.processInfo.isRunningTests
|
||||
let onboardingSeen = UserDefaults.standard.bool(forKey: "clawdbot.onboardingSeen")
|
||||
self.isPaused = UserDefaults.standard.bool(forKey: pauseDefaultsKey)
|
||||
self.launchAtLogin = false
|
||||
|
|
|
|||
Loading…
Reference in a new issue