kra-mo / cartridges

A GTK4 + Libadwaita game launcher
GNU General Public License v3.0
628 stars 32 forks source link

Add multiple selection for steam folder settings #261

Closed EugenioPetulla closed 4 months ago

EugenioPetulla commented 4 months ago

Describe the bug Currently, Cartridges only allows setting one folder for the Steam client, but Steam can have multiple folders for multiple sources (disks). I have 2 SSDs for gaming, and I can only see half of my Steam library.

To Reproduce Steps to reproduce the behavior:

  1. Go to the Steam client and set multiple disks (or partitions) as sources.
  2. Download different games in every folder.
  3. Open Cartridges.

Expected behavior All of the Steam sources should be imported.

System (please complete the following information):

Additional context I believe the solution could be straightforward: allowing the user to select multiple paths for Steam sync in the options. All the Steam "root folders" work the same, so you only have to iterate through them looking for the steamapps folder.

Thank you for the amazing app <3

kra-mo commented 4 months ago

Does the Flatpak have permission to access the folder? If both of the folders belong to the same Steam installation, the app should be able to import from both of them.

EugenioPetulla commented 4 months ago

I just checked and you are right. I hate flatpak and I feel so stupid at the same time 🤦🏼

Thank you for the fast reply and for the amazing piece of software 💯