Skip to content

Instantly share code, notes, and snippets.

@mwleeds
Created November 9, 2019 00:12
Show Gist options
  • Save mwleeds/97fe91ad6999785c99d15d29f8f7128a to your computer and use it in GitHub Desktop.
Save mwleeds/97fe91ad6999785c99d15d29f8f7128a to your computer and use it in GitHub Desktop.
#!/usr/bin/env python3
from gi import require_version
require_version('Flatpak', '1.0')
from gi.repository import Flatpak
inst = Flatpak.Installation.new_user()
inst.install_full(flags=Flatpak.InstallFlags.NONE, remote_name="flathub", kind=Flatpak.RefKind.APP, name="org.gnome.Chess", arch="x86_64",branch="stable",subpaths=None)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment