diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2019-05-19 17:29:26 -0700 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2019-05-19 17:29:26 -0700 |
commit | 0a49c9d7028bea50d6d73f313c286f608a84b71b (patch) | |
tree | cf64f1833040ff6a31084be5c67fd31d1e172bda /Sources.h | |
parent | 5735c325ca335a79f28d2e20b77629c6e1f0f080 (diff) |
Remove all broken hardcoded usage of Cache folder.
Diffstat (limited to 'Sources.h')
-rw-r--r-- | Sources.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -28,6 +28,9 @@ void CydiaWriteSources(); void CydiaAddSource(NSDictionary *source); void CydiaAddSource(NSString *href, NSString *distribution, NSArray *sections = nil); -#define SOURCES_LIST "/var/mobile/Library/Caches/com.saurik.Cydia/sources.list" +extern NSString *Cache_; +NSString *Cache(const char *file); + +#define SOURCES_LIST Cache("sources.list") #endif//Sources_H |