Simulate full version through scheme arguments
This commit is contained in:
parent
c33e087f0c
commit
99da23de8e
|
@ -40,7 +40,12 @@ extension AppConstants {
|
|||
#endif
|
||||
}
|
||||
|
||||
static var isBetaFullVersion = false
|
||||
static var isBetaFullVersion: Bool {
|
||||
guard !ProcessInfo.processInfo.arguments.contains("FULL_VERSION") else {
|
||||
return true
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
static var isMockVPN = false {
|
||||
didSet {
|
||||
|
|
|
@ -93,6 +93,12 @@
|
|||
ReferencedContainer = "container:Passepartout.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildableProductRunnable>
|
||||
<CommandLineArguments>
|
||||
<CommandLineArgument
|
||||
argument = "FULL_VERSION"
|
||||
isEnabled = "YES">
|
||||
</CommandLineArgument>
|
||||
</CommandLineArguments>
|
||||
</LaunchAction>
|
||||
<ProfileAction
|
||||
buildConfiguration = "Release"
|
||||
|
|
Loading…
Reference in New Issue