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