Skip to content

Commit

Permalink
gamefixes-steam: update default.py
Browse files Browse the repository at this point in the history
- winecfg and regedit no longer exist in util
  • Loading branch information
R1kaB3rN committed Mar 8, 2024
1 parent 7e3b2f1 commit ef47f82
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions gamefixes-steam/default.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,12 @@ def use_steam_commands():

for pf_alias in pf_alias_list:
sys.argv.remove(pf_alias)
if pf_alias == '-pf_winecfg':
util.winecfg()
elif pf_alias == '-pf_regedit':
util.regedit()
elif pf_alias.split('=')[0] == '-pf_tricks':
if pf_alias.split('=')[0] == '-pf_tricks':
param = str(pf_alias.replace('-pf_tricks=', ''))
util.protontricks(param)
elif pf_alias.split('=')[0] == '-pf_dxvk_set':
param = str(pf_alias.replace('-pf_dxvk_set=', ''))
dxvk_opt = param.split('=')
util.set_dxvk_option(str(dxvk_opt[0]), str(dxvk_opt[1]))

use_steam_commands()
use_steam_commands()

0 comments on commit ef47f82

Please sign in to comment.