From 1eca822ac2c94f68849e6068d5c54803c1e79b45 Mon Sep 17 00:00:00 2001 From: Kolan Sh Date: Thu, 7 Apr 2011 19:01:16 +0400 Subject: [PATCH] =?UTF-8?q?affinity=20=D0=B4=D0=BB=D1=8F=20starcraft=20II?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cpp/affinity/sc2.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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