Implement list-steam-folders

This commit is contained in:
Mathieu Comandon 2016-07-30 17:50:30 -07:00
parent 3a5e480c12
commit a0bb7ee719

View file

@ -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()