Support launching an arbitrary mod. Hook up package detection for cnc.

This commit is contained in:
Paul Chote
2010-11-17 13:49:30 +13:00
parent f42f39f9c9
commit 3dc16bdbb4
15 changed files with 128 additions and 45 deletions

View File

@@ -17,6 +17,7 @@
@synthesize description;
@synthesize requires;
@synthesize standalone;
@synthesize baseURL;
+ (id)modWithId:(NSString *)mod fields:(id)fields baseURL:(NSURL *)url
{
@@ -54,9 +55,4 @@
[super dealloc];
}
- (NSURL *)pageURL
{
return [baseURL URLByAppendingPathComponent:@"mod.html"];
}
@end