Files
creamlinux-installer/dlc_fetcher.py
Nick H. 723c5873b5 Propose os.scandir() change
As explained on https://github.com/Novattz/creamlinux-installer/pull/5 os.walk() is painfully slow as it will crawl on the directories, causing the program to sometimes take 3 minutes (till timeout) for a single game.

This code will dramatically increase the speed of scanning by using os.scandir() but it will require manually settings library paths (i.e. ~/.steam/steam and ~/.local/share/Steam, not steamapps) since it no longer crawls. 

With that in mind I've also added a "fallback" prompt in case no games are found.
2024-08-05 00:41:18 -03:00

14 KiB