updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / wine-wc3 / wine-wc3.install
blobd9385b019f0603e384a8435d4ab4a8792b5f757a
1 post_install() {
2         echo ''
3         echo '----------------------------------------------------------------------------------------'
4         echo 'Make a start script in ${HOME}/bin/ and name it wc3.sh and put the following in it:' 
5         echo '----------------------------------------------------------------------------------------'
6         echo ''
7         echo '#!/bin/bash'
8         echo '/opt/wine-wc3/usr/bin//wine ${HOME}/.wine/drive_c/Program\ Files/Warcraft\ III/war3.exe -opengl' # Path to war3.exe may be different.
9         echo 'sleep 2'
10         echo 'renice -1 -p `ps ax | grep war3.exe | grep -v grep | cut -c1-5`'
11         echo 'renice -1 -p `ps ax | grep wineserver | grep -v grep | cut -c1-5`'
12         echo ''
13         echo '-----------------------------'
14         echo 'Make the script executable'
15         echo '-----------------------------'
16         echo ''
17         echo 'chmod +x ${HOME}/bin/wc3.sh'
18         echo ''
19