-
Notifications
You must be signed in to change notification settings - Fork 234
Open
Labels
bugMinor issueMinor issue
Description
Describe the bug
When a game profile contains spaces, they are not properly escaped in the arguments passed to the linux wrapper, as a result base game (unmodded) is launched.
To Reproduce
Steps to reproduce the behavior:
- In r2modman create a profile that contains spaces, e.g. "My Gaming Profile"
- Install a few mods
- Launch modded game
- Discover that mods are not loaded
Expected behavior
Mods are loaded
Additional context
Tried to run the wrapper manually passing the same arguments that r2modman does:
λ › "/home/bnn1/.config/r2modmanPlus-local/Valheim/linux_wrapper.sh" /home/bnn1/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- /home/bnn1/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=892970 -- /home/bnn1/.local/share/Steam/steamapps/common/SteamLinuxRuntime_soldier/_v2-entry-point --verb=waitforexitandrun -- /home/bnn1/.local/share/Steam/steamapps/common/SteamLinuxRuntime/scout-on-soldier-entry-point-v2 -- /home/bnn1/.local/share/Steam/steamapps/common/Valheim/valheim.x86_64 --doorstop-enabled true --doorstop-target-assembly /home/bnn1/.config/r2modmanPlus-local/Valheim/profiles/M2 Modpack Jewelcraft/BepInEx/core/BepInEx.Preloader.dll --r2profile M2 Modpack Jewelcraft
/home/bnn1/.config/r2modmanPlus-local/Valheim/linux_wrapper.sh: line 50: /home/bnn1/.config/r2modmanPlus-local/Valheim/profiles/M2/start_game_bepinex.sh: No such file or directory
λ › ~
The path that includes the profile name M2 Modpack Jewelcraft
should either be enquoted everywhere it's used or spaces should be properly escaped.
Metadata
Metadata
Assignees
Labels
bugMinor issueMinor issue