diff --git a/Brewlet.xcodeproj/project.pbxproj b/Brewlet.xcodeproj/project.pbxproj
index 08eeb2c..7704c3a 100644
--- a/Brewlet.xcodeproj/project.pbxproj
+++ b/Brewlet.xcodeproj/project.pbxproj
@@ -285,7 +285,7 @@
"$(inherited)",
"@executable_path/../Frameworks",
);
- MARKETING_VERSION = 1.7;
+ MARKETING_VERSION = 1.7.3;
PRODUCT_BUNDLE_IDENTIFIER = zzada.Brewlet;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 5.0;
@@ -304,7 +304,7 @@
"$(inherited)",
"@executable_path/../Frameworks",
);
- MARKETING_VERSION = 1.7;
+ MARKETING_VERSION = 1.7.3;
PRODUCT_BUNDLE_IDENTIFIER = zzada.Brewlet;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 5.0;
diff --git a/Brewlet/AppDelegate.swift b/Brewlet/AppDelegate.swift
index 5d2cbc5..376ddf4 100644
--- a/Brewlet/AppDelegate.swift
+++ b/Brewlet/AppDelegate.swift
@@ -25,6 +25,8 @@ class AppDelegate: NSObject, NSApplicationDelegate, PreferencesDelegate {
let userDefaults = UserDefaults.standard
let statusItem: NSStatusItem = NSStatusBar.system.statusItem(withLength: NSStatusItem.variableLength)
+ let appVersion = Bundle.main.infoDictionary?["CFBundleShortVersionString"] as? String
+
var preferencesWindow: PreferencesController!
struct Service {
@@ -44,7 +46,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, PreferencesDelegate {
// Set the icon
statusItem.menu = statusMenu
- statusItem.button?.toolTip = "Brewlet"
+ statusItem.button?.toolTip = "Brewlet \(appVersion ?? "")"
statusItem.button?.image = NSImage(named: "BrewletIcon-Black")
statusItem.button?.image?.isTemplate = true
@@ -170,7 +172,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, PreferencesDelegate {
}
let dateStr = formatDate()
- statusItem.button?.toolTip = "Brewlet. Last updated \(dateStr)"
+ statusItem.button?.toolTip = "Brewlet \(appVersion ?? ""). Last updated \(dateStr)"
}
/**
diff --git a/Brewlet/Info.plist b/Brewlet/Info.plist
index aea1094..cb2cd48 100644
--- a/Brewlet/Info.plist
+++ b/Brewlet/Info.plist
@@ -21,7 +21,7 @@
CFBundleShortVersionString
$(MARKETING_VERSION)
CFBundleVersion
- 1
+ $(MARKETING_VERSION).0
LSApplicationCategoryType
public.app-category.productivity
LSMinimumSystemVersion