Skip to content

Commit

Permalink
Bump version to 0.3.
Browse files Browse the repository at this point in the history
  • Loading branch information
zekunyan committed Sep 5, 2016
1 parent c590445 commit 5a7f2d5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion TTGBingWallPaper/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
4 changes: 2 additions & 2 deletions TTGBingWallPaper/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>0.2.1</string>
<string>0.3</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>3</string>
<string>4</string>
<key>LSMinimumSystemVersion</key>
<string>$(MACOSX_DEPLOYMENT_TARGET)</string>
<key>LSUIElement</key>
Expand Down

0 comments on commit 5a7f2d5

Please sign in to comment.