Module libbottles.globals
Expand source code
from pathlib import Path
class Paths:
# TODO: _base should change if flatpak or snap
_base = f"{Path.home()}/.local/share/bottles"
bottles = f"{_base}/bottles"
components = f"{_base}/components"
runners = f"{components}/runners"
dxvks = f"{components}/dxvks"
class Repository:
_base = "https://raw.githubusercontent.com/bottlesdevs"
components = f"{_base}/components/main"
components_index = f"{components}/index.json"
Classes
class Paths
-
Expand source code
class Paths: # TODO: _base should change if flatpak or snap _base = f"{Path.home()}/.local/share/bottles" bottles = f"{_base}/bottles" components = f"{_base}/components" runners = f"{components}/runners" dxvks = f"{components}/dxvks"
Class variables
var bottles
var components
var dxvks
var runners
class Repository
-
Expand source code
class Repository: _base = "https://raw.githubusercontent.com/bottlesdevs" components = f"{_base}/components/main" components_index = f"{components}/index.json"
Class variables
var components
var components_index