af6d7c5055
* Use `vars()` instead of directly accessing `__dict__` * Remove `auto_update` from RareGame's metadata * Correct check for updating the Steam App ID (We want to keep any changes from the user) * Collect both Wine and Proton prefixes when removing overlay registry keys. * Add few convenience functions in config_helper and paths.
15 lines
482 B
Python
15 lines
482 B
Python
from components.tabs.settings import LinuxSettings
|
|
|
|
|
|
class LinuxAppSettings(LinuxSettings):
|
|
def __init__(self, parent=None):
|
|
super(LinuxAppSettings, self).__init__(parent=parent)
|
|
|
|
def update_game(self, app_name):
|
|
self.name = app_name
|
|
self.wine_prefix.setText(self.load_prefix())
|
|
self.wine_exec.setText(self.load_setting(self.name, "wine_executable"))
|
|
|
|
self.dxvk.load_settings(self.name)
|
|
|
|
self.mangohud.load_settings(self.name) |