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 01/14] 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.' From b1d2e1741fa8251fe25b6cc03a4f11205c171940 Mon Sep 17 00:00:00 2001 From: RPI News <44128563+mobilegmYT@users.noreply.github.com> Date: Tue, 20 Apr 2021 13:18:37 -0600 Subject: [PATCH 02/14] Update apps/Wechat/install-32 Co-authored-by: Itai Nelken <70802936+Itai-Nelken@users.noreply.github.com> --- apps/Wechat/install-32 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/Wechat/install-32 b/apps/Wechat/install-32 index a3bf606..46432dd 100755 --- a/apps/Wechat/install-32 +++ b/apps/Wechat/install-32 @@ -14,7 +14,7 @@ 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!' +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 @@ -43,4 +43,3 @@ sudo sed -i 's|/home/pi/.config/wechat-prefix/dosdevices/c:/users/Public/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.' - From 5b4949be1b94d2094863954241d39537b9479685 Mon Sep 17 00:00:00 2001 From: RPI News <44128563+mobilegmYT@users.noreply.github.com> Date: Tue, 20 Apr 2021 13:19:27 -0600 Subject: [PATCH 03/14] Update apps/Wechat/install-32 Co-authored-by: Itai Nelken <70802936+Itai-Nelken@users.noreply.github.com> --- apps/Wechat/install-32 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/Wechat/install-32 b/apps/Wechat/install-32 index 46432dd..ee356a2 100755 --- a/apps/Wechat/install-32 +++ b/apps/Wechat/install-32 @@ -40,6 +40,6 @@ 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 +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 echo 'Install complete! Open WeChat now by using the desktop shortcut in your desktop or in the start menu.' From 220f50ed2d5fae44d424ba1340e8a7cd07bc7108 Mon Sep 17 00:00:00 2001 From: RPI News <44128563+mobilegmYT@users.noreply.github.com> Date: Tue, 20 Apr 2021 13:19:33 -0600 Subject: [PATCH 04/14] Update apps/Wechat/install-32 Co-authored-by: Itai Nelken <70802936+Itai-Nelken@users.noreply.github.com> --- apps/Wechat/install-32 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/Wechat/install-32 b/apps/Wechat/install-32 index ee356a2..1c1cc0a 100755 --- a/apps/Wechat/install-32 +++ b/apps/Wechat/install-32 @@ -39,7 +39,7 @@ 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/.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/.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.' From a24a00784d07056c0f4b0e512c42362cc5f0ff0c Mon Sep 17 00:00:00 2001 From: RPI News <44128563+mobilegmYT@users.noreply.github.com> Date: Tue, 20 Apr 2021 13:20:56 -0600 Subject: [PATCH 05/14] Also sed desktop shortcut --- apps/Wechat/install-32 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/Wechat/install-32 b/apps/Wechat/install-32 index 1c1cc0a..e7b6228 100755 --- a/apps/Wechat/install-32 +++ b/apps/Wechat/install-32 @@ -14,7 +14,7 @@ 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!" +echo "Note that during this installation, a error may pop up saying \"Gecko\" 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 @@ -41,5 +41,6 @@ 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/Desktop/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/.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 echo 'Install complete! Open WeChat now by using the desktop shortcut in your desktop or in the start menu.' From 9251f0acd30218c034be9ef6988229bf40c8df31 Mon Sep 17 00:00:00 2001 From: RPI News <44128563+mobilegmYT@users.noreply.github.com> Date: Thu, 6 May 2021 11:54:43 -0600 Subject: [PATCH 06/14] Remove duplicate --- apps/Wechat/install-32 | 1 - 1 file changed, 1 deletion(-) diff --git a/apps/Wechat/install-32 b/apps/Wechat/install-32 index e7b6228..ece4514 100755 --- a/apps/Wechat/install-32 +++ b/apps/Wechat/install-32 @@ -39,7 +39,6 @@ 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/Desktop/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/.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 From 730065b4e12c6d8a9d9a155e5c95747ecabcf6f4 Mon Sep 17 00:00:00 2001 From: RPI News <44128563+mobilegmYT@users.noreply.github.com> Date: Mon, 7 Jun 2021 09:53:53 -0600 Subject: [PATCH 07/14] Update install-32 --- apps/Wechat/install-32 | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/apps/Wechat/install-32 b/apps/Wechat/install-32 index ece4514..86a3daf 100755 --- a/apps/Wechat/install-32 +++ b/apps/Wechat/install-32 @@ -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.' From ec0bdad10a24bef9f9b7bed9d17ae19c27150523 Mon Sep 17 00:00:00 2001 From: RPI News <44128563+mobilegmYT@users.noreply.github.com> Date: Mon, 7 Jun 2021 17:37:07 -0600 Subject: [PATCH 08/14] Update install-32 --- apps/Wechat/install-32 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/Wechat/install-32 b/apps/Wechat/install-32 index 86a3daf..c2613e2 100755 --- a/apps/Wechat/install-32 +++ b/apps/Wechat/install-32 @@ -52,6 +52,6 @@ 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 +cp ~/Desktop/WeChat.desktop ~/.local/share/applications/WeChat.desktop echo 'Install complete! Open WeChat now by using the desktop shortcut in your desktop or in the start menu.' From e70761bdd02a31d7c0820d997b8ccc80738d7027 Mon Sep 17 00:00:00 2001 From: RPI News <44128563+mobilegmYT@users.noreply.github.com> Date: Tue, 8 Jun 2021 14:42:42 -0600 Subject: [PATCH 09/14] Update install-32 --- apps/Wechat/install-32 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/apps/Wechat/install-32 b/apps/Wechat/install-32 index c2613e2..a565763 100755 --- a/apps/Wechat/install-32 +++ b/apps/Wechat/install-32 @@ -39,9 +39,12 @@ wget -O ~/WeChatSetup.exe https://dldir1.qq.com/weixin/Windows/WeChatSetup.exe WINEPREFIX=~/.config/wechat-prefix wine ~/WeChatSetup.exe rm ~/WeChatSetup.exe -sudo rm ~/.local/share/applications/wine/Programs/WeChat/UninstallWeChat.desktop -sudo rm ~/.local/share/desktop-directories/wine-Programs-WeChat.directory +rm ~/.local/share/applications/wine/Programs/WeChat/UninstallWeChat.desktop +rm ~/.local/share/desktop-directories/wine-Programs-WeChat.directory rm -rf ~/.local/share/applications/wine/Programs/WeChat/ +rm ~/Desktop/WeChat.desktop +rm ~/.local/share/applications/wine/Programs/WeChat/WeChat.desktop + echo "[Desktop Entry] Name=WeChat From dce8bad1024bc7271128c7cb54a308fcb6f860d8 Mon Sep 17 00:00:00 2001 From: RPI News <44128563+mobilegmYT@users.noreply.github.com> Date: Tue, 8 Jun 2021 14:45:07 -0600 Subject: [PATCH 10/14] Change icon path --- apps/Wechat/install-32 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/Wechat/install-32 b/apps/Wechat/install-32 index a565763..b3d5053 100755 --- a/apps/Wechat/install-32 +++ b/apps/Wechat/install-32 @@ -52,7 +52,7 @@ Exec=env BOX86_DYNAREC=0 env WINEPREFIX=~/.config/wechat-prefix wine ~/.config/w Type=Application StartupNotify=true Path=/home/pi/.config/wechat-prefix/dosdevices/c:/Program\ Files/Tencent/WeChat -Icon=8A76_WeChat +Icon=$HOME/pi-apps/apps/Wechat/icon-64.png StartupWMClass=wechat.exe" > ~/Desktop/WeChat.desktop cp ~/Desktop/WeChat.desktop ~/.local/share/applications/WeChat.desktop From a56422513dd3b2ad4b976cf16a9ea75711958e8e Mon Sep 17 00:00:00 2001 From: RPI News <44128563+mobilegmYT@users.noreply.github.com> Date: Tue, 8 Jun 2021 14:51:30 -0600 Subject: [PATCH 11/14] Update install-32 --- apps/Wechat/install-32 | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/apps/Wechat/install-32 b/apps/Wechat/install-32 index b3d5053..3314d16 100755 --- a/apps/Wechat/install-32 +++ b/apps/Wechat/install-32 @@ -48,12 +48,11 @@ rm ~/.local/share/applications/wine/Programs/WeChat/WeChat.desktop 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 +Exec=env BOX86_NOBANNER=0 env WINEPREFIX=$HOME/.config/wechat-prefix wine WeChat.exe Type=Application StartupNotify=true -Path=/home/pi/.config/wechat-prefix/dosdevices/c:/Program\ Files/Tencent/WeChat -Icon=$HOME/pi-apps/apps/Wechat/icon-64.png -StartupWMClass=wechat.exe" > ~/Desktop/WeChat.desktop +Path=$HOME/.config/wechat-prefix/drive_c/Program\ Files/Tencent/WeChat/ +Icon=$HOME/pi-apps/apps/Wechat/icon-64.png" > ~/Desktop/WeChat.desktop cp ~/Desktop/WeChat.desktop ~/.local/share/applications/WeChat.desktop From 55caa15c8d67ac752cc2b2c39b7b851b09a41727 Mon Sep 17 00:00:00 2001 From: RPI News <44128563+mobilegmYT@users.noreply.github.com> Date: Tue, 8 Jun 2021 15:02:46 -0600 Subject: [PATCH 12/14] Update install-32 --- apps/Wechat/install-32 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/Wechat/install-32 b/apps/Wechat/install-32 index 3314d16..fea1cc6 100755 --- a/apps/Wechat/install-32 +++ b/apps/Wechat/install-32 @@ -48,7 +48,7 @@ rm ~/.local/share/applications/wine/Programs/WeChat/WeChat.desktop echo "[Desktop Entry] Name=WeChat -Exec=env BOX86_NOBANNER=0 env WINEPREFIX=$HOME/.config/wechat-prefix wine WeChat.exe +Exec=env BOX86_NOBANNER=0 env WINEPREFIX=$HOME/.config/wechat-prefix wine $HOME/.config/wechat-prefix/drive_c/Program\ Files/Tencent/WeChat/WeChat.exe Type=Application StartupNotify=true Path=$HOME/.config/wechat-prefix/drive_c/Program\ Files/Tencent/WeChat/ From d1e112b4db3166d46e8f13114d0cd684035843c4 Mon Sep 17 00:00:00 2001 From: RPI News <44128563+mobilegmYT@users.noreply.github.com> Date: Fri, 30 Jul 2021 22:30:21 -0600 Subject: [PATCH 13/14] Fix everything --- apps/Wechat/install-32 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/Wechat/install-32 b/apps/Wechat/install-32 index fea1cc6..d8d3208 100755 --- a/apps/Wechat/install-32 +++ b/apps/Wechat/install-32 @@ -48,7 +48,7 @@ rm ~/.local/share/applications/wine/Programs/WeChat/WeChat.desktop echo "[Desktop Entry] Name=WeChat -Exec=env BOX86_NOBANNER=0 env WINEPREFIX=$HOME/.config/wechat-prefix wine $HOME/.config/wechat-prefix/drive_c/Program\ Files/Tencent/WeChat/WeChat.exe +Exec=env BOX86_NOBANNER=1 env WINEPREFIX=$HOME/.config/wechat-prefix wine $HOME/.config/wechat-prefix/drive_c/Program\ Files/Tencent/WeChat/WeChat.exe Type=Application StartupNotify=true Path=$HOME/.config/wechat-prefix/drive_c/Program\ Files/Tencent/WeChat/