| | 168 | == Installation Package == |
| | 169 | |
| | 170 | 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. |
| | 171 | {{{ |
| | 172 | #!/bin/sh |
| | 173 | # Create tgz archive for app distribution |
| | 174 | # Archive will contains app executable, signature file, and may have a bmp file |
| | 175 | # to show on the application menu button. |
| | 176 | # The menu icon must be saved as a 24-bit bmp. The width should be an even 4 pixels |
| | 177 | # such as 280 x 180 |
| | 178 | # Additional files may be added. Documentation files (pdf format) will be available |
| | 179 | # in new style apps to view on the indicator in chromium from help/about screen. |
| | 180 | tar -czvf <projectname>.tgz <projectname> <projectname>.8sg <projectname>.bmp <projectname>.ver <documentfilename>.pdf |
| | 181 | }}} |
| | 182 | |
| | 183 | 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. |
| | 184 | |