diff --git a/apps/Wechat/install-32 b/apps/Wechat/install-32 index 3a35f14..a3bf606 100755 --- a/apps/Wechat/install-32 +++ b/apps/Wechat/install-32 @@ -14,6 +14,9 @@ if ! command -v wine || [ "$(cat "${DIRECTORY}/data/status/Wine (x86)" 2>/dev/nu fi 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 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 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.'