gjs-typelib-installer
    Preparing search index...

    Function findInstallCommand

    • Finds the command to install OS packages. Prefers PackageKit pkgcli/pkcon when available. Falls back to native package managers with pkexec.

      Parameters

      • cancellable: Cancellable | null = null

        Optional cancellable for aborting the operation.

      Returns Promise<InstallCommandResolver | null>

      A function that generates the command line, or null if no suitable installation method is found.