Update wechat desktop shortcut

pull/554/head
RPI News 5 years ago committed by GitHub
parent 690b887b14
commit 736db84fc7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -14,6 +14,9 @@ if ! command -v wine || [ "$(cat "${DIRECTORY}/data/status/Wine (x86)" 2>/dev/nu
fi fi
ulimit -c unlimited ulimit -c unlimited
echo 'Note that during this installation, a error may pop up saying "Geco" or "Mono" isn't installed. Don't worry, that error is normal. Just click the "Install" button!'
read -p "Press [Enter] to continue installaton."
rm -rf ~/.config/wechat-prefix rm -rf ~/.config/wechat-prefix
mkdir -p ~/.config/wechat-prefix mkdir -p ~/.config/wechat-prefix
@ -36,5 +39,8 @@ wget -O ~/WeChatSetup.exe https://dldir1.qq.com/weixin/Windows/WeChatSetup.exe
WINEPREFIX=~/.config/wechat-prefix wine ~/WeChatSetup.exe WINEPREFIX=~/.config/wechat-prefix wine ~/WeChatSetup.exe
rm ~/WeChatSetup.exe rm ~/WeChatSetup.exe
sudo sed -i 's|/home/pi/.config/wechat-prefix/dosdevices/c:/users/Public/Desktop/WeChat.lnk|$HOME/.config/wechat-prefix/dosdevices/c:/Program Files/Tencent/WeChat/WeChat.exe|g' $HOME/Desktop/WeChat.desktop
sudo sed -i 's|/home/pi/.config/wechat-prefix/dosdevices/c:/users/Public/Desktop/WeChat.lnk|$HOME/.config/wechat-prefix/dosdevices/c:/Program Files/Tencent/WeChat/WeChat.exe|g' $HOME/.local/share/applications/wine/Programs/WeChat/WeChat.desktop
echo 'Install complete! Open WeChat now by using the desktop shortcut in your desktop or in the start menu.' echo 'Install complete! Open WeChat now by using the desktop shortcut in your desktop or in the start menu.'

Loading…
Cancel
Save