launcher: quote emulator paths that contain spaces #244

Manually merged
github merged 2 commits from gh-pr/244/head into gh-pr/244/base 2026-11-26 09:14:28 +00:00
Owner

@⁠Hashim1999164 on GitHub · 2026-08-12 22:00 UTC · original
Hashim1999164:fix/launcher-paths-with-spaces → main · +24 −6 · 1 files · 2 commits · merged 2026-08-16 20:13 UTC

Summary

  • On Linux, run kyty_run.sh as a bash file argument instead of bash -c, so script paths with spaces still work.
  • On Windows, quote the emulator path and arguments and pass them through setNativeArguments("/K ...") so cmd.exe does not split install folders that contain spaces.

Fixes #179.

Test plan

  • Place the emulator under a path with spaces (for example a folder named Sony Playstation 5) and launch a game from the launcher on Windows.
  • On Linux, launch from an install path that contains spaces and confirm the terminal still starts the helper script.
  • Confirm launch still works for paths without spaces on both platforms.
**@⁠Hashim1999164** on GitHub · 2026-08-12 22:00 UTC · [original](https://github.com/KytyPS5/KytyPS5/pull/244) `Hashim1999164:fix/launcher-paths-with-spaces` → `main` · +24 −6 · 1 files · 2 commits · merged 2026-08-16 20:13 UTC ## Summary - On Linux, run `kyty_run.sh` as a bash file argument instead of `bash -c`, so script paths with spaces still work. - On Windows, quote the emulator path and arguments and pass them through `setNativeArguments("/K ...")` so cmd.exe does not split install folders that contain spaces. Fixes #179. ## Test plan - [ ] Place the emulator under a path with spaces (for example a folder named Sony Playstation 5) and launch a game from the launcher on Windows. - [ ] On Linux, launch from an install path that contains spaces and confirm the terminal still starts the helper script. - [ ] Confirm launch still works for paths without spaces on both platforms.
Run the Linux helper script as a bash file argument instead of bash -c,
and build a properly quoted cmd.exe /K command on Windows so install
folders like "Sony Playstation 5" still launch. Fixes #179.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 09:14:26 +00:00
github manually merged commit d2785a461e into gh-pr/244/base 2026-11-26 09:14:28 +00:00
Author
Owner

@⁠williansti on GitHub · 2026-08-16 19:38 UTC · original

Thanks for that.

**@⁠williansti** on GitHub · 2026-08-16 19:38 UTC · [original](https://github.com/KytyPS5/KytyPS5/pull/244#issuecomment-5309305110) Thanks for that.
This discussion has been locked. Commenting is limited to contributors.
No description provided.