diff --git a/cpp/affinity/sc2.sh b/cpp/affinity/sc2.sh index 432dd3f..4a48f9a 100755 --- a/cpp/affinity/sc2.sh +++ b/cpp/affinity/sc2.sh @@ -2,7 +2,6 @@ cd ~/.wine/drive_c/Games/StarCraft2 (wine StarCraft\ II &>/dev/null)& -cd ~/scripts/sc2 for i in `seq 20`; do sleep 60 @@ -10,6 +9,6 @@ for i in `seq 20`; do sc2_pid=`pgrep "SC2.exe"` if [ "$sc2_pid" != "" ]; then echo "Setting SC2 ($sc2_pid) affinity to CPU 1" 1>&2 - ./affinity -p "$sc2_pid" -c 3 + affinity -p "$sc2_pid" -c 3 fi done