Skip to content

Commit

Permalink
☮ - added some more changes for #422
Browse files Browse the repository at this point in the history
  • Loading branch information
frostworx committed Feb 26, 2022
1 parent 5fabd11 commit 8b4ea73
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions steamtinkerlaunch
Original file line number Diff line number Diff line change
Expand Up @@ -780,10 +780,10 @@ function writeDesktopFile {
writelog "SKIP" "${FUNCNAME[0]} - $DESTDTF already exists"
else
getGameName "$1"
writelog "INFO" "${FUNCNAME[0]} - Found gamename '$GAMENAME' for arg '$1'"

if [ -n "$GAMENAME" ] && [ "$GAMENAME" != "$NON" ]; then
writelog "INFO" "${FUNCNAME[0]} - Creating '$DESTDTF' for '$GAMENAME'"
if [ -z "$GAMENAME" ]; then
writelog "SKIP" "${FUNCNAME[0]} - Could not find gamename for game id '$1'"
elif [ -n "$GAMENAME" ] && [ "$GAMENAME" != "$NON" ]; then
writelog "INFO" "${FUNCNAME[0]} - Creating '$DESTDTF' for '$GAMENAME' ($1)"
{
echo "[Desktop Entry]"
echo "Name=${GAMENAME//\"/}"
Expand Down

0 comments on commit 8b4ea73

Please sign in to comment.