class LibreWolfApp(AppBase):
NAME = "LibreWolf"
RELEASE_URL = "https://codeberg.org/librewolf/bsys6/releases.rss"
- DESKTOP_URL = "https://aur.archlinux.org/cgit/aur.git/plain/librewolf.desktop?h=librewolf"
- ICON_URL = "https://aur.archlinux.org/cgit/aur.git/plain/default192x192.png?h=librewolf"
+ DESKTOP_URL = (
+ "https://aur.archlinux.org/cgit/aur.git/plain/librewolf.desktop?h=librewolf"
+ )
+ ICON_URL = (
+ "https://aur.archlinux.org/cgit/aur.git/plain/default192x192.png?h=librewolf"
+ )
BIN_PATH = AppBase.APPS_DIR / "librewolf" / "librewolf"
@classmethod
def get_latest_version(cls):
- tree = ElementTree.parse(urlopen(cls.RELEASE_URL))
- return next(iter(tree.getroot())).find("item").find("title").text
+ return next(
+ iter(ElementTree.parse(urlopen(cls.RELEASE_URL)).getroot())
+ ).find("item").find("title").text
@classmethod
def get_installed_version(cls):