]> git.saurik.com Git - cydia.git/commitdiff
More directly expose package.clear/install/remove.
authorJay Freeman (saurik) <saurik@saurik.com>
Fri, 18 Feb 2011 10:00:50 +0000 (02:00 -0800)
committerJay Freeman (saurik) <saurik@saurik.com>
Fri, 18 Feb 2011 10:00:50 +0000 (02:00 -0800)
MobileCydia.mm

index 8df0e26f4d7697d3beea5fa57864182a5415de8c..37df4df96afbc8c44c8846c52b80eabe00d0dcf9 100644 (file)
@@ -2066,8 +2066,14 @@ struct PackageNameOrdering :
 
 + (NSString *) webScriptNameForSelector:(SEL)selector {
     if (false);
+    else if (selector == @selector(clear))
+        return @"clear";
     else if (selector == @selector(hasTag:))
         return @"hasTag";
+    else if (selector == @selector(install))
+        return @"install";
+    else if (selector == @selector(remove))
+        return @"remove";
     else
         return nil;
 }