Initial release

This commit is contained in:
aculix committed 2026-09-28 18:28:32 +05:30
commit 4b67728cce
108 files changed
+13310

No files matched your search

@@ -0,0 +1,12 @@
/// When the setup window opens by itself at launch.
public enum SetupLaunchRule {
public static let completedKey = "setupCompleted"
public static func shouldOpen(hostSupported: Bool, setupCompleted: Bool, runtime: RuntimeStatus) -> Bool {
guard hostSupported, setupCompleted else { return true }
switch runtime {
case .missing, .outdated: return true
case .current: return false
}
}
}