Add Steam darwin library location

This commit is contained in:
kramo
2024-06-29 09:37:55 +02:00
parent 8640e37252
commit 63a797ce33
2 changed files with 3 additions and 0 deletions

View File

@@ -128,6 +128,7 @@ class SteamSource(URLExecutableSource):
shared.data_dir / "Steam",
shared.flatpak_dir / "com.valvesoftware.Steam" / "data" / "Steam",
shared.programfiles32_dir / "Steam",
shared.app_support_dir / "Steam",
),
paths={
"libraryfolders.vdf": LocationSubPath(

View File

@@ -64,6 +64,8 @@ local_appdata_dir = Path(
)
programfiles32_dir = Path(getenv("programfiles(x86)") or r"C:\Program Files (x86)")
app_support_dir = home / "Library" / "Application Support"
try:
scale_factor = max(
monitor.get_scale_factor()