From 736db84fc7e2fd10a8883b20b20dec8861256835 Mon Sep 17 00:00:00 2001 From: RPI News <44128563+mobilegmYT@users.noreply.github.com> Date: Wed, 7 Apr 2021 18:20:21 -0600 Subject: [PATCH] Update wechat desktop shortcut --- apps/Wechat/install-32 | 6 ++++++ 1 file changed, 6 insertions(+) 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.'