From 17cbeaa5bf5efd697c3d50119b4b9fc4e0d98b2f Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Wed, 10 Oct 2018 15:54:53 -0400 Subject: [PATCH] new script to take down berserk witcher 3 game --- scripts/customize/fred/scripts/games/zap_witcher.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 scripts/customize/fred/scripts/games/zap_witcher.sh diff --git a/scripts/customize/fred/scripts/games/zap_witcher.sh b/scripts/customize/fred/scripts/games/zap_witcher.sh new file mode 100644 index 00000000..e3901b22 --- /dev/null +++ b/scripts/customize/fred/scripts/games/zap_witcher.sh @@ -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 -- 2.34.1