Add screenshot generator
This commit is contained in:
@@ -22,4 +22,10 @@ public enum Variant {
|
||||
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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user