Skip to content

Installation Directory

After an application is installed to a specified volume, a dedicated installation directory will be created for the application in this volume. The path format is: /volume{volume number}/@appstore/{app_id}.

For example: /volume1/@appstore/com.mycompany.myapp.

The directory structure is as follows:

shell
/var/packages/{app_id}/ -> /volume{volume number}/@appstore/{app_id}
├── bin
   └── app_serv
├── cache -> /volume{volume number}/@appcache/{app_id}
├── data -> /volume{volume number}/@appdata/{app_id}
├── log -> /volume{volume number}/@applog/{app_id}
├── icon.png
└── www
    ├── index.html
    ├── css/
    ├── js/
    └── assets/

The files and directories in the application installation directory come from the rootfs_common and rootfs_amd64\arm64 directories under the application packaging directory.

Package Directory Structure

The package directory structure is as follows:

shell
my-app/
├── project.yaml         # Application configuration file
├── rootfs_common/       # Common packaging directory
   ├── icon.png         # Application icon (recommended size: 256*256 px)
   └── www/             # Frontend static file directory
       ├── index.html   # Entry page
       ├── css/
       ├── js/
       └── assets/
├── rootfs_amd64/        # AMD64 architecture specific directory
   └── bin/             # Backend service executable
└── rootfs_arm64/        # ARM64 architecture specific directory
    └── bin/             # Backend service executable