summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Cydia.app/package.js2
-rw-r--r--Cydia.mm4
2 files changed, 3 insertions, 3 deletions
diff --git a/Cydia.app/package.js b/Cydia.app/package.js
index 1f4939c..c3b361c 100644
--- a/Cydia.app/package.js
+++ b/Cydia.app/package.js
@@ -63,7 +63,7 @@ $(function () {
$("#name").html(name);
space("#latest", package.latest, 96);
- $.xhr(cache(api + 'package/' + idc), 'GET', {}, null, {
+ $.xhr((api + 'package_/' + idc), 'GET', {}, null, {
success: function (value) {
value = eval(value);
diff --git a/Cydia.mm b/Cydia.mm
index b62fc4a..2860ce0 100644
--- a/Cydia.mm
+++ b/Cydia.mm
@@ -381,7 +381,7 @@ extern NSString * const kCAFilterNearest;
#define lprintf(args...) fprintf(stderr, args)
-#define ForRelease 0
+#define ForRelease 1
#define ForSaurik (1 && !ForRelease)
#define ShowInternals (1 && !ForRelease)
#define IgnoreInstall (0 && !ForRelease)
@@ -6531,7 +6531,7 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
// XXX: what is this line of code for?
if ([packages count] == 0);
- else if (Loaded_) loaded:
+ else if (Loaded_ || ForSaurik) loaded:
[self _loaded];
else {
Loaded_ = YES;