X-Git-Url: https://feistymeow.org/gitweb/?p=feisty_meow.git;a=blobdiff_plain;f=scripts%2Fcustomize%2Ffred%2Fscripts%2Fgames%2Fzap_skyrim.sh;fp=scripts%2Fcustomize%2Ffred%2Fscripts%2Fgames%2Fzap_skyrim.sh;h=0fec261767bccce96e7b9ca29dc50aa427d4d8dd;hp=0000000000000000000000000000000000000000;hb=f7c28dab06ee47d0f28e97ed98cecb400f5aa2cc;hpb=5997acfad6af37e0e895774c95ecd0f6bd53dcfc diff --git a/scripts/customize/fred/scripts/games/zap_skyrim.sh b/scripts/customize/fred/scripts/games/zap_skyrim.sh new file mode 100644 index 00000000..0fec2617 --- /dev/null +++ b/scripts/customize/fred/scripts/games/zap_skyrim.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +# windows compatible process killer for any stray processes started as +#"fallout" something. + +source $FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh + +procid="$( psa skyrim | tail -n 1 | awk '{ print $1; }' )" + +if [ ! -z "$procid" ]; then + taskkill.exe /f /pid ${procid} +fi