| 179 | | == Installation Package == |
| 180 | | |
| 181 | | In the //app// directory of the project it is helpful to create a script "mktgz.sh" to generate a release package to give to customers to install the app. |
| 182 | | {{{ |
| 183 | | #!/bin/sh |
| 184 | | # Create tgz archive for app distribution |
| 185 | | # Archive will contains app executable, signature file, and may have a bmp file |
| 186 | | # to show on the application menu button. |
| 187 | | # The menu icon must be saved as a 24-bit bmp. The width should be an even 4 pixels |
| 188 | | # such as 280 x 180 |
| 189 | | # Additional files may be added. Documentation files (pdf format) will be available |
| 190 | | # in new style apps to view on the indicator in chromium from help/about screen. |
| 191 | | tar -czvf <projectname>.tgz <projectname> <projectname>.8sg <projectname>.bmp <projectname>.ver <documentfilename>.pdf |
| 192 | | }}} |
| 193 | | |
| 194 | | From a terminal window in the VM in the //app// directory type "./mktgz.sh" to create the compressed tgz file containing the application files. This file can be copied to a USB flash drive. From the 825 Gen2 file manager the app can be installed from the flash drive. |
| 195 | | |