mirror of
https://github.com/lutris/lutris
synced 2024-09-15 22:09:55 +00:00
Implement list-steam-folders
This commit is contained in:
parent
3a5e480c12
commit
a0bb7ee719
11
bin/lutris
11
bin/lutris
|
@ -107,10 +107,17 @@ if options.list_steam:
|
|||
# FIXME: this only works for Wine Steam games
|
||||
from lutris.runners import winesteam
|
||||
steam_runner = winesteam.winesteam()
|
||||
print steam_runner.get_appid_list()
|
||||
for appid in steam_runner.get_appid_list():
|
||||
print appid
|
||||
exit()
|
||||
if options.list_steam_folders:
|
||||
pass
|
||||
from lutris.runners import winesteam, steam
|
||||
winesteam_runner = winesteam.winesteam()
|
||||
steam_runner = steam.steam()
|
||||
for folder in steam_runner.get_steamapps_dirs():
|
||||
print folder
|
||||
for folder in winesteam_runner.get_steamapps_dirs():
|
||||
print folder
|
||||
exit()
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue