From 5a7f2d5b64580b7d99169d20d7635f63fc2ff0c6 Mon Sep 17 00:00:00 2001 From: zekunyan Date: Mon, 5 Sep 2016 22:22:30 +0800 Subject: [PATCH] Bump version to 0.3. --- TTGBingWallPaper/AppDelegate.swift | 4 +++- TTGBingWallPaper/Info.plist | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/TTGBingWallPaper/AppDelegate.swift b/TTGBingWallPaper/AppDelegate.swift index 0ae114e..6a0884a 100644 --- a/TTGBingWallPaper/AppDelegate.swift +++ b/TTGBingWallPaper/AppDelegate.swift @@ -163,8 +163,10 @@ class AppDelegate: NSObject, NSApplicationDelegate { contentTextView.editable = false let alert = NSAlert() + let version = NSBundle.mainBundle().infoDictionary?["CFBundleShortVersionString"] as! String + alert.icon = NSImage(named: "AppIcon") - alert.messageText = "Bing Wallpaper" + alert.messageText = "BingWallPaper \(version)" alert.accessoryView = contentTextView alert.alertStyle = .InformationalAlertStyle alert.runModal() diff --git a/TTGBingWallPaper/Info.plist b/TTGBingWallPaper/Info.plist index 4f779c4..07d8897 100644 --- a/TTGBingWallPaper/Info.plist +++ b/TTGBingWallPaper/Info.plist @@ -17,11 +17,11 @@ CFBundlePackageType APPL CFBundleShortVersionString - 0.2.1 + 0.3 CFBundleSignature ???? CFBundleVersion - 3 + 4 LSMinimumSystemVersion $(MACOSX_DEPLOYMENT_TARGET) LSUIElement