aboutsummarylogtreecommitdiffstats
path: root/run.sh
diff options
context:
space:
mode:
authorCodist2021-05-11 21:06:48 +0800
committerCodist2021-05-11 21:06:48 +0800
commitecd6d5ee18ee6404e6fad7d16f8a8b00adbc1a3a (patch)
treee2c73f4111457b324a3c95991b90d1696136709a /run.sh
parentd9bb23c221a375147bdbfca2821cf1405dd33247 (diff)
downloadaur-ecd6d5ee18ee6404e6fad7d16f8a8b00adbc1a3a.tar.gz
Upgrade TIM to 3.3.5.22018
Signed-off-by: Codist <countstarlight@gmail.com>
Diffstat (limited to 'run.sh')
-rwxr-xr-xrun.sh9
1 files changed, 5 insertions, 4 deletions
diff --git a/run.sh b/run.sh
index 2b6402462b64..ce5f769394a7 100755
--- a/run.sh
+++ b/run.sh
@@ -33,9 +33,9 @@ extract_archive()
}
BOTTLENAME="Deepin-TIM"
-APPVER="9.3.2deepin14"
+APPVER="9.3.2deepin20"
WINEPREFIX="$HOME/.deepinwine/$BOTTLENAME"
-TIM_VER="3.3.0.22020"
+TIM_VER="3.3.5.22018"
EXEC_PATH="c:/Program Files/Tencent/TIM/Bin/TIM.exe"
START_SHELL_PATH="$HOME/.deepinwine/deepin-wine-helper/run_v3.sh"
TIM_INSTALLER_PATH="c:/Program Files/Tencent/TIM$TIM_VER.exe"
@@ -78,8 +78,6 @@ SwitchToDeepinWine()
msg 0 "Redeploying app ..."
extract_archive "$ARCHIVE_FILE_DIR/helper_archive.7z" "$ARCHIVE_FILE_DIR/helper_archive.md5sum" "$SPECIFY_SHELL_DIR"
$START_SHELL_PATH $BOTTLENAME $APPVER "$EXEC_PATH" -r
- #msg 0 "Reversing the patch ..."
- #patch -p1 -R -d ${WINEPREFIX} < $ARCHIVE_FILE_DIR/reg.patch
echo "5" > $WINEPREFIX/deepin
rm -f $WINEPREFIX/reinstalled
msg 0 "Done."
@@ -107,6 +105,9 @@ Run()
if [ ! -f "$WINEPREFIX/reinstalled" ];then
touch $WINEPREFIX/reinstalled
env LC_ALL=zh_CN.UTF-8 WINEDLLOVERRIDES="winemenubuilder.exe=d" $START_SHELL_PATH $BOTTLENAME $APPVER "$TIM_INSTALLER_PATH" "$@"
+ if [ $APPRUN_CMD = "deepin-wine5" ]; then
+ echo "5" > $WINEPREFIX/deepin
+ fi
else
env LC_ALL=zh_CN.UTF-8 $START_SHELL_PATH $BOTTLENAME $APPVER "$EXEC_PATH" "$@"
fi