renpy / vscode-language-renpy

Ren'Py extension for Visual Studio Code
Other
102 stars 21 forks source link

Run: Renpy: Run project command doesn't support space in project path #388

Open hsandt opened 9 months ago

hsandt commented 9 months ago

It's like #79 but for the "Run: Renpy: Run project" command (the one we try to make work in #115)

Repro

  1. Create Renpy project in a path with space (e.g. make the project folder contain 2 words "Two Words")
  2. Open the Renpy folder in VS code
  3. Setup Settings > Renpy > Renpy Executable Location if not already done
  4. Open palette and run the command: "Run: Renpy: Run project"

Expected: the game runs Actual: the project path is read until the first space, breaking the path and preventing game launch

user@Computer:~/Projects/Renpy/Two Words$ /home/user/.local/bin/renpy.sh /home/user/Projects/Renpy/Two Words
Base directory '/home/leyn/Projects/Renpy/Two' does not exist. Giving up.
TuulikkiUnelma commented 9 months ago

I encountered this as well. I'm on Windows 11.

duckdoom4 commented 6 months ago

Any first time contributor's who'd like to help; feel free to pick this up. Should be relatively simple to solve :)