termux / termux-create-package

Python script to create Termux packages easily.
https://termux.com
Apache License 2.0
430 stars 94 forks source link

termux-create-package Does not read images #37

Closed Yisus7u7 closed 2 years ago

Yisus7u7 commented 2 years ago

Screenshot_20220315-195717 Screenshot_20220315-200040 Screenshot_20220315-200447

I have everything organized correctly, I already tried other things and I realize that termux-create-package does not read images, when adding a directory with images, the images are not added to the package.

Please arrange this.

Yisus7u7 commented 2 years ago

Screenshot_20220315-201116 Screenshot_20220315-201026

I am working on a very simple application to "emulate" apps in a proot container, my application uses a few images and as termux-create-package does not add them, the app does not work.

Yisus7u7 commented 2 years ago

@agnostic-apollo

agnostic-apollo commented 2 years ago

source_recurse The bool value for whether all files under the source path should be recursively added to the deb if its a directory. By default files under source directories are not automatically/recursively added to the deb. Each file that needs to be added to the deb must be added separately. This is useful for cases where the files/build directory contains lots of files but you only want specific files to be added to the deb. You may optionally only add a directory entry and not add any file entries, which would ideally result in an empty directory at the target system if it didn't already exist there.

https://github.com/termux/termux-create-package#source_recurse

https://github.com/termux/termux-create-package/blob/v0.12.0/examples/goodbye-world/manifest-android-termux.yml#L56