Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # WHAT IS THIS?
- # -- Importing multiples sources in Cydia at once!
- # -- And allowing then to be editable inside Cydia app.
- # by Arthur da Paz
- #
- # GUIDE:
- # -- install cycript and OpenSSH
- # create the text file /var/mobile/sources.txt
- # each line of it should contain an URL corresponding to the repo
- # once your sources.txt is ready and filled with all the sources
- # copy+paste the command bellow via ssh (recommended to be logged in as 'mobile', not 'root')
- #
- # ATTENTION: Cydia must be opened
- # (on any default view and in stand by state)
- echo 'function loadSources(){var srcs=[NSString stringWithContentsOfFile:@"/var/mobile/sources.txt"].split("\n").filter(function(l){return(l!=""&&l!=undefined)});for(var i=0;i<srcs.length;i++)[Cydia.sharedApplication addTrivialSource:srcs[i]];[Cydia.sharedApplication syncData]}loadSources()'|cycript -p Cydia
Advertisement
Add Comment
Please, Sign In to add comment