Advertisement
Nadonate

steam-exit

Jan 27th, 2022
851
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2.  
  3. APP_ID=$1
  4.  
  5.        steam -silent -applaunch $APP_ID 2>&1 |  while read line; do
  6.        if [[ $line == *"Exiting app $APP_ID"* ]]; then
  7.          steam -shutdown
  8.          break
  9.        fi
  10.     done
  11.  
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement