steamgriddb-manager icon indicating copy to clipboard operation
steamgriddb-manager copied to clipboard

Implement basic Linux support

Open Newbytee opened this issue 6 years ago • 6 comments
trafficstars

This pull request adds very basic Linux support. Steam library shows up if Steam is installed in the default location ($HOME/.steam/steam/) and that's about it. It's able to find Steam libraries outside of the default location (found the one I have on my second hard drive mounted at /mnt/storage/), and you can scroll through the list. Finds both Linux native games and Windows ones (that run via Proton), and everything looks correct. Search also works.

That aside however, importing games from other launchers is broken. A significant amount of work would probably be required to get this part to work (I did not attempt to implement it for the time being). Currently, opening the Import Games tab results in a JavaScript error and an infinite loading screen. Accent colour is also currently hard-coded on platforms that are not Windows. May continue to work on these things, may leave it for someone else.

Regardless, these patches should not break Windows functionality whatsoever.

Newbytee avatar Sep 15 '19 17:09 Newbytee

Just pulled and built this on Fedora 30. Working great for me with the noted exception of Import Games functionality.

markisherwood avatar Sep 27 '19 15:09 markisherwood

Just pulled and built this on Fedora 30. Working great for me with the noted exception of Import Games functionality.

Yeah, I didn't implement that part. I might work on doing it, but I'd have to discuss it with the maintainer first as this would require some UI/UX changes due to most of these services not having native clients, and only being available through Wine. You'd have to add some sort of directory picker (or Wineprefix picker) for this to be possible on Linux since you can't just grab their paths from the registry (...which does not exist on Linux).

Newbytee avatar Sep 27 '19 19:09 Newbytee

Any update on this?

parkerlreed avatar Dec 02 '19 23:12 parkerlreed

Any update on this?

I have not done any work since sending in this pull request.

Newbytee avatar Dec 03 '19 09:12 Newbytee

Ahh thanks. I may try to take a stab at it, but no promises. Not very skilled in JS/Electron, heh.

parkerlreed avatar Dec 03 '19 16:12 parkerlreed

This will need to be reworked after the latest changes.

doZennn avatar Dec 04 '19 14:12 doZennn