kevinrmartinez / RetroLinker

A GUI application to create desktop links of games running on RetroArch. For Windows and Linux.
GNU General Public License v3.0
2 stars 0 forks source link

Implement loading of existing links #24

Open kevinrmartinez opened 7 months ago

kevinrmartinez commented 7 months ago

Windows shortcuts binaries (.lnk) can be read the same way they can be written by the WshRuntimeLibrary, with a IWshShortcut object. https://stackoverflow.com/questions/13079569/how-do-i-get-the-path-name-from-a-file-shortcut-getting-exception/13079688#13079688

Linux Desktop Entries are UTF-8 encoded text, with properties stored as key=value pairs, making it easy to read. It can be readev en be read by an INI reader.

The most challenging part would be to deconstruct to RA arguments