Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

preference_bundle template need add "control" #86

Open
becomedragon opened this issue Mar 24, 2024 · 2 comments
Open

preference_bundle template need add "control" #86

becomedragon opened this issue Mar 24, 2024 · 2 comments

Comments

@becomedragon
Copy link

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
Copy link

syto203 commented Mar 24, 2024

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
Copy link
Author

becomedragon commented Mar 25, 2024

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants