thezerothcat / LaMulanaRandomizer

Randomizer for La-Mulana Remake
https://github.com/thezerothcat/LaMulanaRandomizer/wiki
BSD 2-Clause "Simplified" License
51 stars 17 forks source link

Detect GOG game path on Linux #53

Closed tkoehlmann closed 6 years ago

tkoehlmann commented 6 years ago

Linux doesn't have a registry but the paths for shortcuts are predefined and the installer puts the stuff into a reliable place. So I just find the .desktop file, extract the paths and check if they exist. It will work unless the user disabled all shortcuts.

Shouldn't affect the Windows version at all.