32 lines
822 B
Swift
32 lines
822 B
Swift
import Foundation
|
|
import Libbox
|
|
|
|
public enum Variant {
|
|
#if os(macOS)
|
|
public static var useSystemExtension = false
|
|
#else
|
|
public static let useSystemExtension = false
|
|
#endif
|
|
|
|
#if os(iOS)
|
|
public static let applicationName = "SFI"
|
|
#elseif os(macOS)
|
|
public static let applicationName = "SFM"
|
|
#elseif os(tvOS)
|
|
public static let applicationName = "SFT"
|
|
#endif
|
|
|
|
public static var isBeta = LibboxVersion().contains("-")
|
|
|
|
#if os(iOS)
|
|
public static var debugNoIOS26 = false
|
|
public static var debugNoIOS18 = false
|
|
#endif
|
|
|
|
#if targetEnvironment(simulator)
|
|
public static let screenshotMode = true
|
|
#else
|
|
public static let screenshotMode = ProcessInfo.processInfo.arguments.contains("-FASTLANE_SNAPSHOT")
|
|
#endif
|
|
}
|