aboutsummarylogtreecommitdiffstats
path: root/run.sh
diff options
context:
space:
mode:
authorCodist2020-02-08 20:22:26 +0800
committerCodist2020-02-08 20:22:26 +0800
commit534ca46beb3074a9dd1f94e0fda128e213abde94 (patch)
treeb6a6ceb5c0c6a0416dc1cbf5ada04a3fee3e3081 /run.sh
parent7874ae6384ef2e4b61e22ac5a2d4e20d135f9368 (diff)
downloadaur-534ca46beb3074a9dd1f94e0fda128e213abde94.tar.gz
Rename WeChat setup file each time.
Signed-off-by: Codist <countstarlight@gmail.com>
Diffstat (limited to 'run.sh')
-rwxr-xr-xrun.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/run.sh b/run.sh
index 6f4d69db909c..4c245a6df0d5 100755
--- a/run.sh
+++ b/run.sh
@@ -10,6 +10,7 @@ WINEPREFIX="$HOME/.deepinwine/Deepin-WeChat"
APPDIR="/opt/deepinwine/apps/Deepin-WeChat"
APPVER="2.6.2.31deepin0"
WECHAT_INSTALLER="WeChatSetup"
+WECHAT_VER="2.8.0.116"
APPTAR="files.7z"
PACKAGENAME="com.wechat"
WINE_CMD="wine"
@@ -27,7 +28,7 @@ CallApp()
if [ ! -f "$WINEPREFIX/reinstalled" ]
then
touch $WINEPREFIX/reinstalled
- env WINEDLLOVERRIDES="winemenubuilder.exe=d" WINEPREFIX="$WINEPREFIX" $WINE_CMD $APPDIR/$WECHAT_INSTALLER.exe
+ env WINEDLLOVERRIDES="winemenubuilder.exe=d" WINEPREFIX="$WINEPREFIX" $WINE_CMD $APPDIR/$WECHAT_INSTALLER-$WECHAT_VER.exe
else
#Support use native file dialog
export ATTACH_FILE_DIALOG=1