vim qq.sh
将qq.sh文件中的:
if [ $MYNAME == 'root' ];then
WINEDEBUG=-all
env WINEPREFIX=~/$WINEQQ /opt/$QQVER/bin/wine /$MYNAME/$WINEQQ/drive_c/Program\Files/Tencent/QQ/Bin/QQ.exe;
else
WINEDEBUG=-all env WINEPREFIX=~/$WINEQQ /opt/$QQVER/bin/wine /home/$MYNAME/$WINEQQ/drive_c/Program\Files/Tencent/QQ/Bin/QQ.exe;
fi
更改为:
if [ $MYNAME == 'root' ];then
WINEDEBUG=-all
env WINEPREFIX=~/$WINEQQ /opt/$QQVER/bin/wine /opt/$QQVER/wineapp/.wine/drive_c/Program\Files/Tencent/QQ/Bin/QQ.exe;
else
WINEDEBUG=-all env WINEPREFIX=~/$WINEQQ /opt/$QQVER/bin/wine /home/$MYNAME/$WINEQQ/drive_c/Program\Files/Tencent/QQ/Bin/QQ.exe;
安装QQ需要使用的文件(直接复制到shell里面执行即可):
yum -y install alsa-lib-devel.i686
alsa-lib-devel
audiofile-devel.i686
audiofile-devel
cups-devel.i686
cups-devel
dbus-devel.i686
dbus-devel
fontconfig-devel.i686
fontconfig-devel
freetype.i686
freetype-devel.i686
freetype-devel
giflib-devel.i686
giflib-devel
lcms-devel.i686
lcms-devel
libICE-devel.i686
libICE-devel
libjpeg-turbo-devel.i686
libjpeg-turbo-devel
libpng-devel.i686
libpng-devel
libSM-devel.i686
libSM-devel
libusb-devel.i686
ibusb-devel
libX11-devel.i686
libX11-devel
libXau-devel.i686
libXau-devel
libXcomposite-devel.i686
libXcomposite-devel
libXcursor-devel.i686
libXcursor-devel
libXext-devel.i686
libXext-devel
libXi-devel.i686
libXi-devel
libXinerama-devel.i686
libXinerama-devel
libxml2-devel.i686
libxml2-devel
libXrandr-devel.i686
libXrandr-devel
libXrender-devel.i686
libXrender-devel
libxslt-devel.i686
libxslt-devel
libXt-devel.i686
libXt-devel
libXv-devel.i686
libXv-devel
libXxf86vm-devel.i686
libXxf86vm-devel
mesa-libGL-devel.i686
mesa-libGL-devel
mesa-libGLU-devel.i686
mesa-libGLU-devel
ncurses-devel.i686
ncurses-devel
openldap-devel.i686
openldap-devel
openssl-devel.i686
openssl-devel
zlib-devel.i686
pkgconfigsane-backends-devel.i686
sane-backends-devel
xorg-x11-proto-devel
glibc-devel.i686
prelink
font
forge
flexbison
libstdc++-devel.i686
pulseaudio-libs-devel.i686
gnutls-devel.i686
libgphoto2-devel.i686
openal-soft-devel
openal-soft-devel.i686
isdn4k-utils-devel.i686
gsm-devel.i686
samba-winbind
libv4l-devel.i686
cups-devel.i686
libtiff-devel.i686
gstreamer-devel.i686
gstreamer-plugins-base-devel.i686
gettext-devel.i686
libmpg123-devel.i686