Update install-32

pull/554/head
RPI News 3 years ago committed by GitHub
parent e473706f1d
commit 730065b4e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -39,7 +39,19 @@ wget -O ~/WeChatSetup.exe https://dldir1.qq.com/weixin/Windows/WeChatSetup.exe
WINEPREFIX=~/.config/wechat-prefix wine ~/WeChatSetup.exe
rm ~/WeChatSetup.exe
sudo sed -i "s|$HOME/.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
sudo sed -i "s|$HOME/.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 rm ~/.local/share/applications/wine/Programs/WeChat/UninstallWeChat.desktop
sudo rm ~/.local/share/desktop-directories/wine-Programs-WeChat.directory
rm -rf ~/.local/share/applications/wine/Programs/WeChat/
echo "[Desktop Entry]
Name=WeChat
Exec=env BOX86_DYNAREC=0 env WINEPREFIX=~/.config/wechat-prefix wine ~/.config/wechat-prefix/drive_c/Program\ Files/Tencent/WeChat/WeChat.exe
Type=Application
StartupNotify=true
Path=/home/pi/.config/wechat-prefix/dosdevices/c:/Program\ Files/Tencent/WeChat
Icon=8A76_WeChat
StartupWMClass=wechat.exe" > ~/Desktop/WeChat.desktop
cp ~/Desktop/WeChat.desktop ~/.loca/share/applications/WeChat.desktop
echo 'Install complete! Open WeChat now by using the desktop shortcut in your desktop or in the start menu.'

Loading…
Cancel
Save