Custom osu! / Hexis install locations will fail
Good issue made by a-SynKronus on GitHub.
Issue in title, it's possible to install osu! in strange places. You can fix by getting install locations through the registry.
There are two safe options:
- Uninstall location [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall] You will need to loop through these until you find osu.
- Class [HKEY_CLASSES_ROOT\osu\shell\open\command] This is how osu!lazer does it.
Here is said section in osu!lazer's source code: https://github.com/ppy/osu/blob/e7e822ecd57c9211fa9c749569e6064eb1a922ca/osu.Desktop/OsuGameDesktop.cs#L56-L68
This should link to line 56-68.
I happened by chance to check out the Hexis website yesterday for the first time after about a year to see if there was still any lifeform around at all, and I just noticed you posted this here. What are the odds?
Either way, I'm afraid that I am not working on this anymore - I haven't even touched C# in ages. If I can ever be bothered again, I'll try to get around to this, but can't guarantee you anything. (Of course, I absolutely don't mind pull requests stuck_out_tongue)
Oh right, that's kind of how git works, oops. I'll make the necessary changes and make a pull request.