Manifest [tasks] Section
The [tasks]
section declares a small routine that can run at specific events during the lifecycle of the application package. At this time the Vega system supports the install
event for running such tasks. This task can be used to set up other tasks before the application’s first launch. The task
section is optional.
[tasks]
# task configuration
[[tasks.work]]
This subsection describes the task details.
Fields
id
(string, required): This must refer to a task component id defined in the manifest. By convention, this is represented as<package_id>.<task_name>
. The identifier string must follow the rules forpackage_id
:- Allowed characters: uppercase letters
A-Z
, lowercase lettersa-z
, digits0-9
, dot.
and underscore_
. - Use reverse DNS notation
<package_id>.<task_name>
.
id = "com.mycompany.smart_app.install_task"
- Allowed characters: uppercase letters
-
mode
(string, required): The package lifecycle event type when the declared task runs. Currently, the only supported event isinstall
. Any other values are ignored.mode = "install"
Last updated: Sep 30, 2025