Fix #511: fixes for Spiral Knights
This commit is contained in:
1 parent
d2986295ba
commit
be528eb08a
2 files changed
+5
-4
No files matched your search
@@ -180,10 +180,10 @@ int launchJVM(NSString *username, id launchTarget, int width, int height, int mi
|
||||
if([getPreference(@"cosmetica") boolValue]) {
|
||||
margv[++margc] = [NSString stringWithFormat:@"-javaagent:%@/arc_dns_injector.jar=23.95.137.176", librariesPath].UTF8String;
|
||||
}
|
||||
NSString *selectedAccount = getPreference(@"internal_selected_account");
|
||||
if (selectedAccount != nil) {
|
||||
margv[++margc] = [NSString stringWithFormat:@"-Dpojav.selectedAccount=%@", selectedAccount].UTF8String;
|
||||
}
|
||||
|
||||
// Args for Spiral Knights
|
||||
margv[++margc] = "-Dappdir=./spiral";
|
||||
margv[++margc] = "-Dresource_dir=./spiral/rsrc";
|
||||
|
||||
// Setup Caciocavallo
|
||||
margv[++margc] = "-Djava.awt.headless=false";
|
||||
|
||||
@@ -294,6 +294,7 @@ static AFURLSessionManager* manager;
|
||||
client[@"downloads"] = [[NSMutableDictionary alloc] init];
|
||||
if (json[@"downloads"][@"client"] == nil) {
|
||||
client[@"downloads"][@"artifact"] = [[NSMutableDictionary alloc] init];
|
||||
client[@"skip"] = @YES;
|
||||
} else {
|
||||
client[@"downloads"][@"artifact"] = json[@"downloads"][@"client"];
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user