Conversion Flatpak application
The ll-pica-flatpak convert command is used to convert Flatpak applications into linyaps applications.
View the help information for the ll-pica-flatpak convert command:
ll-pica-flatpak --helpHere is the output:
Convert the flatpak to uab. For example:
Simple:
ll-pica-flatpak convert [flatpak name] --build
Usage:
ll-pica-flatpak [command]
Available Commands:
convert Convert flatpak to uab
help Help about any command
Flags:
-h, --help help for ll-pica-flatpakConvert Flatpak application
ll-pica-flatpak convert org.videolan.VLC --buildTIP
The package name for Flatpak is org.videolan.VLC. It can be found by visiting https://flathub.org/ => clicking on the app => selecting the Install drop-down menu => viewing the package name.
ll-pica-flatpak uses ostree commands to retrieve the application data of org.videolan.VLC, and generates the corresponding linyaps base environment based on the runtime defined in the metadata
The application defaults to generating a uab file. To export a layer file, you need to add the --layer parameter.
ll-pica-flatpak convert org.videolan.VLC --build --layerTo specify the version of the linyaps application to be generated, you need to add the --version parameter.
ll-pica-flatpak convert org.videolan.VLC --version "1.0.0.0" --build --layerTo specify the base environment and version of the linyaps application, you need to add the --base and --base-version parameters.
ll-pica-flatpak convert org.videolan.VLC --base "org.deepin.base.flatpak.kde" --base-version "6.7.0.2" --build --layerThe constructed products are as follows:
├── org.videolan.VLC
│ ├── org.videolan.VLC_1.0.0.0_x86_64_develop.layer
│ ├── org.videolan.VLC_1.0.0.0_x86_64_binary.layer
or
│ ├── org.videolan.VLC_x86_64_1.0.0.0_main.uabLayer files are divided into two categories: binary and develop. The binary includes the application's execution environment, while the develop layer, built upon the binary, retains the debugging environment.
The uab file is an offline distribution format used by the linyaps software package, which is not suitable for systems that can normally connect to the linyaps repository. Instead, one should utilize the delta transfer scheme provided by the linyaps software repository to reduce the network transmission size.
Installing Layer Files and Running the Application Reference:Install linyaps Apps