summarylogtreecommitdiffstats
path: root/com.qq.weixin.deepin.sh
diff options
context:
space:
mode:
authorzxp198210052024-04-09 18:00:54 +0800
committerzxp198210052024-04-09 18:00:54 +0800
commited77dd517d25b9ff41034df32b978a9fe93e4242 (patch)
tree7e988178f27c6f06b618abd8a4e32bfc174e127a /com.qq.weixin.deepin.sh
parent47e89fd40ea3750d2efaad4ee1e88b996632891a (diff)
downloadaur-com.qq.weixin.deepin.tar.gz
update to 3.9.7deepin11
Diffstat (limited to 'com.qq.weixin.deepin.sh')
-rw-r--r--com.qq.weixin.deepin.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/com.qq.weixin.deepin.sh b/com.qq.weixin.deepin.sh
index 7ca0bfa51f70..ffa1cdc20013 100644
--- a/com.qq.weixin.deepin.sh
+++ b/com.qq.weixin.deepin.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
set -e
ACTIVEX_NAME=""
BOTTLENAME="@bottlename@"
@@ -43,7 +43,7 @@ if [ -n "${EXPORT_ENVS}" ];then
export "${EXPORT_ENVS}"
fi
if [[ -z "${EXEC_PATH}" ]] && [[ -n "${INSTALL_SETUP}" ]];then
- exec "${START_SHELL_PATH}" "${BOTTLENAME}" "${APPVER}" "${EXEC_PATH}" -c
+ exec "${START_SHELL_PATH}" "${BOTTLENAME}" "${APPVER}" "${EXEC_PATH}" -c || exit $?
BOTTLEPATH="${HOME}/.deepinwine/${BOTTLENAME}"
EXEC_PATH=$(find "${BOTTLEPATH}" -name ${EXEC_NAME} | head -1)
if [ -z "${EXEC_PATH}" ];then