mirror of
https://github.com/moraroy/NonSteamLaunchers-On-Steam-Deck.git
synced 2024-12-21 07:11:52 +01:00
Update NSLGameScanner.py
This commit is contained in:
parent
3bcf1eb0bd
commit
59eaa5e32d
@ -953,7 +953,8 @@ def adjust_dosbox_launch_options(launch_command, game_id):
|
||||
print(f"Error adjusting launch options: {e}")
|
||||
return launch_command
|
||||
else:
|
||||
# For non-DOSBox games, return the original launch command
|
||||
# For non-DOSBox games, return the original launch command without trailing spaces
|
||||
launch_command = launch_command.strip()
|
||||
return f'STEAM_COMPAT_DATA_PATH="{logged_in_home}/.local/share/Steam/steamapps/compatdata/{gog_galaxy_launcher}/" %command% /command=runGame /gameId={game_id} /path="{launch_command}"'
|
||||
|
||||
# Define your paths
|
||||
@ -985,6 +986,7 @@ else:
|
||||
|
||||
|
||||
|
||||
|
||||
#Battle.net Scanner
|
||||
# Define your mapping
|
||||
flavor_mapping = {
|
||||
|
Loading…
Reference in New Issue
Block a user