Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Non-Steam Game: Add non-steam|nsg filter to list Command #1121

Merged
merged 5 commits into from
Jun 8, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
formatting
  • Loading branch information
sonic2kk committed Jun 7, 2024
commit 876e5d7b8752dadbf7fd4ed54928590d8e00425a
7 changes: 6 additions & 1 deletion steamtinkerlaunch
Original file line number Diff line number Diff line change
Expand Up @@ -7785,6 +7785,9 @@ function pickGameWindowNameMeta {
# This function is not very efficient, Non-Steam Games in particular are inefficient because we read shortcuts.vdf each time we want to parse info
# We parse it once to get the IDs, then again in each `getTitleFromID` and `getGameDir` call. This makes it pretty slow
# It works for now, but in future we should enhance it
#
# One potential way to enhance this function is to split it out into a separate function for each filter type, but we would need
# to consider how this function is used by other parts of the codebase and if that could be disruptive.
function listSteamGames {
function getGameCount {
TOTALGAMESOWNEDPRINTFSTR=""
Expand Down Expand Up @@ -22187,7 +22190,7 @@ function howto {
echo " Note that this will not remove your mods or installed Winetricks"
echo " lang=<option> Mostly to get translated configs on inital setup."
echo " <option> can be a language file name without suffix or an path to a valid language file"
echo " launcher <args> Start the Game Launcher"
echo " launcher <args> Start the Game Launcher"
echo " COLLECTION Show only installed games from Steam collection COLLECTION"
echo " menu Open Steam Collection Menu"
echo " last Open last Game as 'Menu'"
Expand All @@ -22197,6 +22200,8 @@ function howto {
echo " list <owned|installed|non-steam> List info on <owned|o,installed|i,non-steam|nsg> games"
echo " <id|name|path|count|full> Optionally specify whether you want to see"
echo " each game's <id|name|path|count|full>"
echo " NOTE: Non-Steam Games will NOT be included in <installed,owned>,"
echo " they will only show up for <non-steam|nsg>"
echo " listproton|lp List name and path of all Proton versions known to SteamTinkerLaunch"
echo " name|n Only list the Proton version names"
echo " path|p Only list paths to the Proton versions"
Expand Down
Loading