Skip to content

Commit f426b63

Browse files
authored
Fix an issue when running games with user provided arguments
1 parent e812ebd commit f426b63

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

resources/steam.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def run(steam_exe_path, steam_launch_args, appid):
2929
log('executing ' + steam_exe_path + ' ' + steam_launch_args + ' steam://rungameid/' + appid)
3030

3131
# https://developer.valvesoftware.com/wiki/Steam_browser_protocol
32-
subprocess.call([steam_exe_path, user_args, 'steam://rungameid/' + appid])
32+
subprocess.call([steam_exe_path] + user_args + ['steam://rungameid/' + appid]) #Concatenate the arrays into one
3333

3434

3535
def get_user_games(steam_api_key, steam_user_id, recent_only=False):

0 commit comments

Comments
 (0)