Use the launcher in osx packaged builds. Leopard support. Fix some wording. Remove old osx launcher project.

This commit is contained in:
Paul Chote
2010-11-25 21:48:58 +13:00
parent a0741ba26b
commit 8c5c63a4b5
43 changed files with 69 additions and 3565 deletions

View File

@@ -35,10 +35,8 @@
// Temporary hack until mods define an icon
NSString* imageName = [[NSBundle mainBundle] pathForResource:@"OpenRA" ofType:@"icns"];
id icon = [[[NSImage alloc] initWithContentsOfFile:imageName] autorelease];
id url = [[baseURL URLByAppendingPathComponent:[baseMod mod]]
URLByAppendingPathComponent:@"mod.html"];
id ret = [SidebarEntry entryWithTitle:[baseMod title] url:url icon:icon];
id path = [[[baseURL absoluteString] stringByAppendingPathComponent:[baseMod mod]] stringByAppendingPathComponent:@"mod.html"];
id ret = [SidebarEntry entryWithTitle:[baseMod title] url:[NSURL URLWithString:path] icon:icon];
for (id key in allMods)
{