⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 easywine2006.sh

📁 在linux下使用window程序的虚拟软件 更加友好的界面
💻 SH
字号:
#!/bin/bash#tempdir="$homedir/.EasyWine"function yn_answer { unset refstr while [ "$refstr" != 'y' ] && [ "$refstr" != 'n' ] do {  echo -n "$1"  read refstr } done}function strinput { unset refstr echo -n "$1" read refstr}installtype=""if [ "$HOME" = "/root" ]; thenif [ ! `which EasyWine` ]thenclearelse  echo "===============================================///////////////////////////////////////////////      EasyWine 2.7 RL Of Wine Set Tools                               uninstall EasyWine                                deman                      http://www.easywine.org///////////////////////////////////////////////==============================================="echo -n "Do you want to uninstall EasyWine (y/n)?"yn_answerif [ "$refstr" = "y" ]thenrpm -e EasyWinerm -r -f /usr/share/EasyWinerm -f /usr/bin/EasyWinerm -f /bin/EasyWineclear  echo "===============================================///////////////////////////////////////////////      EasyWine 2.7 RL Of Wine Set Tools                               Finish Uninstall                                deman                      http://www.easywine.org///////////////////////////////////////////////==============================================="elseexit 1fificlear  echo "===============================================///////////////////////////////////////////////      EasyWine 2.7 RL Of Wine Set Tools                               Install EasyWine                                deman                      http://www.easywine.org///////////////////////////////////////////////==============================================="echo -n "Do you want to install EasyWine (y/n)?"yn_answerif [ "$refstr" = "y" ]thenechoelseexit 1fi  echo "===============================================///////////////////////////////////////////////      EasyWine 2.7 RL Of Wine Set Tools                               Starting Install                                deman                      http://www.easywine.org///////////////////////////////////////////////==============================================="echoecho  "Your Linux locale is :"echolocaleechoecho "Please choice your Linux Locale to install EasyWine"echoecho "1、UTF8       2、GB18030 / GB2312 / GBK"echoif [ "$installtype" = "" ]then echo -n "Type 1 or 2 and Enter to continue install EasyWine(1-2)? : " strinputelse refstr=$installtypefi   sed -e '1,/EasyWineBIN/d' "$0" |sed -e '1,/EasyWineBIN/d' > /tmp/EasyWine-2.7RL.tar.bz2  cd /  tar xjvf /tmp/EasyWine-2.7RL.tar.bz2>tmp/EasyWine#cp /usr/share/EasyWine/ver $tempdir/verif [ "$refstr" = "1" ]thencp /usr/share/EasyWine/utf8/EasyWine /usr/bin/EasyWineelif [ "$refstr" = "2" ]thenechoelseexit 1fichmod +x /usr/bin/EasyWinecp /usr/share/EasyWine/shelllink/EasyWine.desktop /usr/share/applnk/Utilitiescp /usr/share/EasyWine/shelllink/EasyWine.desktop /root/Desktop  rm -rf /tmp/EasyWine*clear  echo "===============================================///////////////////////////////////////////////      EasyWine 2.7 RL Of Wine Set Tools                                Finish Install                                deman                      http://www.easywine.org///////////////////////////////////////////////==============================================="  exitelseecho "===============================================///////////////////////////////////////////////            Warning:Install Fail!   You must running EasyWine install as root///////////////////////////////////////////////==============================================="exitfi exit#EasyWineBINBZh91AY&SY梵騕輗

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -