Skip to content

Commit

Permalink
Update to version 3.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
gcollazo committed Apr 16, 2015
1 parent 5f8b008 commit 4654234
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions MongoDB.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -439,10 +439,12 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_IDENTITY = "Developer ID Application";
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Developer ID Application: Blimp, LLC (FJZ2YT5Y98)";
COMBINE_HIDPI_IMAGES = YES;
INFOPLIST_FILE = MongoDB/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks";
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE = "";
};
name = Debug;
};
Expand All @@ -451,10 +453,12 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_IDENTITY = "Developer ID Application";
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Developer ID Application: Blimp, LLC (FJZ2YT5Y98)";
COMBINE_HIDPI_IMAGES = YES;
INFOPLIST_FILE = MongoDB/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks";
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE = "";
};
name = Release;
};
Expand Down
4 changes: 2 additions & 2 deletions MongoDB/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class AppDelegate: NSObject, NSApplicationDelegate {
let data: NSData = self.file.readDataToEndOfFile()
self.file.closeFile()

let output: String = NSString(data: data, encoding: NSUTF8StringEncoding)!
let output: String = NSString(data: data, encoding: NSUTF8StringEncoding)! as String
println(output)
}

Expand Down Expand Up @@ -107,7 +107,7 @@ class AppDelegate: NSObject, NSApplicationDelegate {

// Add version to menu
versionMenuItem.title = "MongoDB"
if let version = NSBundle.mainBundle().objectForInfoDictionaryKey("CFBundleShortVersionString") as String? {
if let version = NSBundle.mainBundle().objectForInfoDictionaryKey("CFBundleShortVersionString") as! String? {
versionMenuItem.title = "MongoDB v\(version)"
}
menu.addItem(versionMenuItem)
Expand Down
4 changes: 2 additions & 2 deletions MongoDB/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>3.0.1</string>
<string>3.0.2</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>2</string>
<string>1</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.developer-tools</string>
<key>LSMinimumSystemVersion</key>
Expand Down

0 comments on commit 4654234

Please sign in to comment.