diff --git a/css_utils.py b/css_utils.py index 9067182..a38c116 100644 --- a/css_utils.py +++ b/css_utils.py @@ -101,7 +101,17 @@ def get_steam_path() -> str: def is_steam_beta_active() -> bool: beta_path = os.path.join(get_steam_path(), "package", "beta") - return os.path.exists(beta_path) + if not os.path.exists(beta_path): + return False + + with open(beta_path, 'r') as fp: + content = fp.read().strip() + + stable_branches = [ + "steamdeck_stable", + ] + + return content not in stable_branches def create_steam_symlink() -> Result: return create_symlink(get_theme_path(), os.path.join(get_steam_path(), "steamui", "themes_custom"))