feat(flatpak): install packages from a Flatpak file
Dragging a .flatpakref, .flatpakrepo or .flatpak onto the window, or opening it with the file manager, has to reach flatpak without the user going through a search. The provider now owns its formats: it claims the files it handles and builds the matching command, and the core routes the request to whichever provider recognises it, so a new provider can claim its own formats the same way. 🤖 Generated with Codebuff Co-Authored-By: Codebuff <noreply@codebuff.com>
This commit is contained in:
9 files changed
+381
-5
No files matched your search
@@ -127,6 +127,7 @@ void InstallWorker::run() {
|
||||
case Op::Remove: success = pm->remove(m_package, cb) && success; break;
|
||||
case Op::Update: success = pm->update(m_package, cb) && success; break;
|
||||
case Op::UpdateAll: success = pm->update("", cb) && success; break;
|
||||
case Op::InstallFile: success = pm->installFile(m_package, cb) && success; break;
|
||||
case Op::Refresh: success = pm->refresh(cb) && success; break;
|
||||
case Op::RemovePackages:
|
||||
success = pm->removePackages(m_packages, cb) && success;
|
||||
|
||||
Reference in new issue
Block a user