This repository was archived by the owner on May 11, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 450
450
"@executable_path/../Frameworks",
451
451
);
452
452
MACOSX_DEPLOYMENT_TARGET = 13.0;
453
- MARKETING_VERSION = 0.1.0;
453
+ MARKETING_VERSION = "pre- 0.1.0" ;
454
454
PRODUCT_BUNDLE_IDENTIFIER = com.isaacmarovitz.Whisky;
455
455
PRODUCT_NAME = "$(TARGET_NAME)";
456
456
SWIFT_EMIT_LOC_STRINGS = YES;
481
481
"@executable_path/../Frameworks",
482
482
);
483
483
MACOSX_DEPLOYMENT_TARGET = 13.0;
484
- MARKETING_VERSION = 0.1.0;
484
+ MARKETING_VERSION = "pre- 0.1.0" ;
485
485
PRODUCT_BUNDLE_IDENTIFIER = com.isaacmarovitz.Whisky;
486
486
PRODUCT_NAME = "$(TARGET_NAME)";
487
487
SWIFT_EMIT_LOC_STRINGS = YES;
Original file line number Diff line number Diff line change @@ -41,6 +41,10 @@ class BottleSettings {
41
41
do {
42
42
let data = try Data ( contentsOf: settingsUrl)
43
43
settings = try PropertyListDecoder ( ) . decode ( BottleSettingsData . self, from: data)
44
+ if settings. wineVersion != BottleSettingsData ( ) . wineVersion {
45
+ print ( " Bottle has a different wine version! " )
46
+ settings. wineVersion = BottleSettingsData ( ) . wineVersion
47
+ }
44
48
return true
45
49
} catch {
46
50
print ( error)
You can’t perform that action at this time.
0 commit comments