Packager
The appman-packager
is a command-line utility that can be used by the developer to manage installation packages. This utility can also be used as a signing and verification tool on an app-store backend server. This tool is meant for use on the developer's desktop machine or packaging server, but not on the target device.
Currently, the application manager supports unsigned packages, packages that are signed by the developer only (development mode), and packages that are signed by a trusted app-store. The appman-packager
can create all these variations with the following commands:
Command | Arguments | Description |
---|---|---|
create-package | <package>
| Creates a new package named package from the application in source directory. The directory needs to at least contain an info.yaml as well as an icon.png file. The tool will do a sanity-check on the info.yaml file before actually creating the package. All normal files and directories in the source directory will be copied into package. The only meta-data that is copied from the filesystem is the filename, and the user's eXecutable-bit. The following options are supported:
All of the extra-meta-data options are merged together, so all options can be used together and each option can also be given multiple times. The signed fields are added to the package's digest, so that they cannot be changed once the package has been signed. The normal fields can however be changed even after package signing: an example would be an appstore-server adding custom tags. |
dev-sign-package | <package>
| Takes the input package , adds a developer signature and writes the output to signed-package . You need to supply a certificate in P12 format together with a password matching the certificate. The following options are supported:
|
dev-verify-package | <package>
| Reads the input package and tries to verify the developer signature using the given ca-certificates . The following options are supported:
|
store-sign-package | <package>
| Takes the input package , adds a store signature and writes the output to signed-package . You need to supply a certificate in P12 format together with a password matching the certificate. If you don't leave the device-id empty, the resulting package can only be installed on this specific device. The following options are supported:
|
store-verify-package | <package>
| Reads the input package and tries to verify the store signature using the given ca-certificates . The following options are supported:
|
The appman-packager
naturally supports the standard Unix --help
command-line option.
© 2021 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.