-
Get the desired existing NIC template from
$THEOS/templates/
, for exampleiphone_tweak.nic.tar
-
Unpack the files from the template into some other folder like
~/MyNicTemplate
-
Make any modifications to the existing files or add new ones, you can use different variables that will be replace with info entered in the NIC propmt:
@@USER@@ = Author
@@PROJECTNAME@@ = Name of the project (Not sure of the difference)
@@FULLPROJECTNAME@@ = Name of the project (Not sure of the difference)
@@PACKAGENAME@@ = ID of your package
@@CLASSPREFIX@@ = The 3 long ID specifically for preference bundles
-
Modify the name variable in the NIC/control file, for example change it to "NAME/tweak"
-
Run
$THEOS/bin/nicify.pl
to build your template. Usage `$THEOS/bin/nicify.pl [Your Template Location]:
$THEOS/bin/nicify.pl ~/MyNicTemplate
It will then build the templace in whatever directory you're currently in.