`Install with Modrinth App` is broken due to incorrect registry path
Please confirm the following.
- [X] I checked the existing issues for duplicate problems
- [X] I have tried resolving the issue using the support portal
- [X] I have ensured my Modrinth App installation is up to date
Info
- Modrinth App 0.8.2
- Windows 11
Description
The «Install with Modrinth App» button won't work if a path to the launcher .exe contains spaces:
https://github.com/user-attachments/assets/2dc951de-25ba-4778-a431-c41c541e8185
This happens due to incorrect registry path that Modrinth App sets on each launch (that's why I can't fix it myself):
Light theme alert!
Actually this window doesn't support the dark theme at all, Windows sucksTo reproduce
- Create a user with a space in the name
- Install Modrinth App
- Try to install something from the website
Expected behavior
The path should be wrapped in quotation marks:
"C:\Users\Домашний компьютер\AppData\Local\Modrinth App\Modrinth App.exe" "%1"
After fixing the path manually the button works fine until the next App launch.
Additional context
Confirmed to be fixed in 0.8.5
Confirmed to be broken again in 0.8.7 – App installs its update to a different directory (Program Files/Modrinth App instead of %LocalAppData%/Modrinth App) and doesn't update its location in the registry
I'm also having similar path related issues, but with things like changing instance icon or adding non-modrinth mod through modrinth app. #2444