Skip to content

Commit

Permalink
“pre-0.1.0”
Browse files Browse the repository at this point in the history
  • Loading branch information
IsaacMarovitz committed Apr 5, 2023
1 parent 7452a26 commit 0295734
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Whisky.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 13.0;
MARKETING_VERSION = 0.1.0;
MARKETING_VERSION = "pre-0.1.0";
PRODUCT_BUNDLE_IDENTIFIER = com.isaacmarovitz.Whisky;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_EMIT_LOC_STRINGS = YES;
Expand Down Expand Up @@ -481,7 +481,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 13.0;
MARKETING_VERSION = 0.1.0;
MARKETING_VERSION = "pre-0.1.0";
PRODUCT_BUNDLE_IDENTIFIER = com.isaacmarovitz.Whisky;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_EMIT_LOC_STRINGS = YES;
Expand Down
4 changes: 4 additions & 0 deletions Whisky/Models/BottleSettings.swift
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ class BottleSettings {
do {
let data = try Data(contentsOf: settingsUrl)
settings = try PropertyListDecoder().decode(BottleSettingsData.self, from: data)
if settings.wineVersion != BottleSettingsData().wineVersion {
print("Bottle has a different wine version!")
settings.wineVersion = BottleSettingsData().wineVersion
}
return true
} catch {
print(error)
Expand Down

0 comments on commit 0295734

Please sign in to comment.