kabiroberai / theos-jailed

A Theos module to develop jailed tweaks for iOS 8 and up
Other
362 stars 65 forks source link

preference_bundle template need add "control" #86

Open becomedragon opened 5 months ago

becomedragon commented 5 months ago

when I use nic.pl create preference_bundle and "make package".

report an error msg: ==> Error: /Applications/Xcode.app/Contents/Developer/usr/bin/make package requires you to have a control file either in the layout/DEBIAN/ directory or in the project root. The control is used to determine info about the package (e.g., name, arch, and version). make: *** [internal-package] Error 1

Then I copy "control" file to project root, modify it. make package & make install success !!.

But I dont know how to modify template :(

syto203 commented 5 months ago

Extract any template that already exists and modify as you like then compress it again. It uses pearl so read up on that to know what to do. Good luck

becomedragon commented 5 months ago

Extract any template that already exists and modify as you like then compress it again. It uses pearl so read up on that to know what to do. Good luck

Thanks : )

Actually, I've tried to add "control" file and tar it ,but after replace origin tar file, then use "nic.pl" doesn't show the template in the list which i have replaced.

this is the template tar files path: /opt/theos/vendor/templates

and this is the tar command: tar -cvf xxxx.tar xxxx

so ,i'm not sure is there have other place need to modify ?