new script to take down berserk witcher 3 game
authorChris Koeritz <fred@gruntose.com>
Wed, 10 Oct 2018 19:54:53 +0000 (15:54 -0400)
committerChris Koeritz <fred@gruntose.com>
Wed, 10 Oct 2018 19:54:53 +0000 (15:54 -0400)
scripts/customize/fred/scripts/games/zap_witcher.sh [new file with mode: 0644]

diff --git a/scripts/customize/fred/scripts/games/zap_witcher.sh b/scripts/customize/fred/scripts/games/zap_witcher.sh
new file mode 100644 (file)
index 0000000..e3901b2
--- /dev/null
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+# windows compatible process killer for any stray processes started as
+# "witcher" something.
+
+source $FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh
+
+procid="$( psa witcher | tail -n 1 | awk '{ print $1; }' )"
+
+if [ ! -z "$procid" ]; then
+  taskkill.exe /f /pid ${procid}
+fi