Skip to content

Commit

Permalink
fixed exec file path in run.sh
Browse files Browse the repository at this point in the history
Signed-off-by: Vufa <countstarlight@gmail.com>
  • Loading branch information
vufa committed Feb 15, 2022
1 parent 634aeb0 commit a8176ef
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .SRCINFO
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ pkgbase = deepin-wine-wechat
md5sums = d81ce735e25cf79ac90bdc2c87020d13
md5sums = cf87ad9db0bf279ddf9e5c1dce64a716
md5sums = 531a3997ea28e8fc0f47e9e136dae332
md5sums = 1e8a5ac849f34da178a2f1f7f4d86fbd
md5sums = 0a40eeb0da00cbb98820089de9efbd04

pkgname = deepin-wine-wechat
2 changes: 1 addition & 1 deletion PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ md5sums=('940b59d57536a1e43bc9fc6f61d675ca'
'd81ce735e25cf79ac90bdc2c87020d13'
'cf87ad9db0bf279ddf9e5c1dce64a716'
'531a3997ea28e8fc0f47e9e136dae332'
'1e8a5ac849f34da178a2f1f7f4d86fbd')
'0a40eeb0da00cbb98820089de9efbd04')

build() {
msg "Extracting DPKG package ..."
Expand Down
3 changes: 2 additions & 1 deletion run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ WINEPREFIX="$HOME/.deepinwine/$BOTTLENAME"
WECHAT_FONTS="$WINEPREFIX/drive_c/windows/Fonts"
WECHAT_VER="3.5.0.46"
EXEC_PATH="c:/Program Files/Tencent/WeChat/WeChat.exe"
EXEC_FILE="$WINEPREFIX/drive_c/Program Files/Tencent/WeChat/WeChat.exe"
START_SHELL_PATH="/opt/deepinwine/tools/run_v4.sh"
WECHAT_INSTALLER="WeChatSetup"
WECHAT_INSTALLER_PATH="c:/Program Files/Tencent/$WECHAT_INSTALLER-$WECHAT_VER.exe"
Expand Down Expand Up @@ -75,7 +76,7 @@ Run()
DeployApp
else
# missing exec file
if [ ! -d "$EXEC_PATH" ];then
if [ ! -f "$EXEC_FILE" ];then
DeployApp
fi

Expand Down

0 comments on commit a8176ef

Please sign in to comment.