Skip to content

Commit

Permalink
Chaned AppId to SteamAppID env variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Jpxe committed Sep 9, 2023
1 parent 717767a commit a5472c6
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions engines/changine/assets/run-changine.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
#!/bin/bash

# Define the app ID
app_id="32310"

# Check if a command argument was provided
if [ $# -eq 1 ]; then
command_args="$1"
Expand All @@ -20,8 +17,8 @@ else
fi

# Construct the Steam command
steam_command="steam -applaunch $app_id \"steam://nav/console/ +app_change_compat_tool $app_id $compat_tool \\\"\\\" 250\""
steam_command="steam -applaunch $SteamAppId \"steam://nav/console/ +app_change_compat_tool $SteamAppId $compat_tool \\\"\\\" 250\""

# Execute the Steam command
echo "Launching $app_id with $compat_tool"
echo "Launching $SteamAppId with $compat_tool"
eval "$steam_command"

0 comments on commit a5472c6

Please sign in to comment.