Commit 3b5526e0 authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: add hack so deprecated platforms don't get updates they can't execute

parent 3935f543
......@@ -1318,8 +1318,6 @@
<string>Binary</string>
</dict>
</array>
<key>SUFeedURL</key>
<string>http://update.videolan.org/vlc/sparkle/vlc.xml</string>
<key>SUPublicDSAKeyFile</key>
<string>dsa_pub.pem</string>
<key>CFBundleExecutable</key>
......
......@@ -655,6 +655,16 @@ static VLCMain *_o_sharedMainInstance = nil;
[self initStrings];
NSURL *feedURL;
#ifdef __x86_64__
feedURL = [NSURL URLWithString:@"http://update.videolan.org/vlc/sparkle/vlc-intel64.xml"];
#elif __i386__
feedURL = [NSURL URLWithString:@"http://update.videolan.org/vlc/sparkle/vlc-intel32.xml"];
#else
feedURL = [NSURL URLWithString:@"http://update.videolan.org/vlc/sparkle/vlc-powerpc.xml"];
#endif
[[SUUpdater sharedUpdater] setFeedURL:feedURL];
nib_main_loaded = TRUE;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment