-
Get the desired existing NIC template from
$THEOS/vendor/templates
, for exampleiphone_tweak.nic.tar
-
Unpack the files from the template into a different folder such as
~/custom_tweak_template
-
Make any modifications to the existing files or add new ones, you can use different variables that will be replaced with info entered in the NIC prompt:
Variable | Description |
---|---|
@@USER@@ | Author |
@@PROJECTNAME@@ | Name of the project |
@@FULLPROJECTNAME@@ | Name of the project (Unsure of the difference from @@PROJECTNAME@@) |
@@PACKAGENAME@@ | ID of your package |
@@CLASSPREFIX@@ | The 3 character ID specifically for preference bundles |
-
Modify the name variable in the
NIC/control
file, for example change it to"COMPANY/tweak"
-
Run
$THEOS/bin/nicify.pl
to build your template. Usage$THEOS/bin/nicify.pl [output directory]
:
$THEOS/bin/nicify.pl ./
- Move your newly created NIC template to
$THEOS/templates/
not$THEOS/vendor/templates