From 8f8d714d8363aabf1145f2770f16e2885e20b87e Mon Sep 17 00:00:00 2001 From: Sajid Anwar Date: Sat, 12 Apr 2014 16:46:26 -0700 Subject: [PATCH] Version bump, prepare for upcoming rename to radiant-player-mac --- google-music-mac/Utilities.m | 8 +++++++- google-music-mac/info.plist | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/google-music-mac/Utilities.m b/google-music-mac/Utilities.m index 5ad025a7..2c34ea51 100644 --- a/google-music-mac/Utilities.m +++ b/google-music-mac/Utilities.m @@ -52,9 +52,15 @@ + (NSImage *)templateImage:(NSString *)templateName withColor:(NSColor *)tint + (NSString *)latestVersionFromGithub { - NSURL *url = [NSURL URLWithString:@"https://api.github.com/repos/kbhomes/google-music-mac/releases"]; + NSURL *url = [NSURL URLWithString:@"https://api.github.com/repos/kbhomes/radiant-player-mac/releases"]; NSData *data = [NSData dataWithContentsOfURL:url]; + if (!data) + { + url = [NSURL URLWithString:@"https://api.github.com/repos/kbhomes/google-music-mac/releases"]; + data = [NSData dataWithContentsOfURL:url]; + } + if (data) { id parsed = [NSJSONSerialization JSONObjectWithData:data options:0 error:nil]; diff --git a/google-music-mac/info.plist b/google-music-mac/info.plist index 711b1c27..7111976f 100644 --- a/google-music-mac/info.plist +++ b/google-music-mac/info.plist @@ -21,7 +21,7 @@ CFBundlePackageType APPL CFBundleShortVersionString - 1.1.2 + 1.1.3 CFBundleSignature ???? LSApplicationCategoryType