summarylogtreecommitdiffstats
path: root/deepin-wine-adrive.sh
diff options
context:
space:
mode:
authorzxp198210052023-12-15 10:04:16 +0800
committerzxp198210052023-12-15 10:04:16 +0800
commit5900253ec455ba1a7a75e3742661d5c503373032 (patch)
tree4aa9dc44916021bd97524ba951db38bfad8101e7 /deepin-wine-adrive.sh
parent64d7d3ee3f33b1d8c6321fbafe87c1f82343f474 (diff)
downloadaur-5900253ec455ba1a7a75e3742661d5c503373032.tar.gz
update to 4.9.16
Diffstat (limited to 'deepin-wine-adrive.sh')
-rw-r--r--deepin-wine-adrive.sh20
1 files changed, 10 insertions, 10 deletions
diff --git a/deepin-wine-adrive.sh b/deepin-wine-adrive.sh
index 96354c712439..e14f588eff78 100644
--- a/deepin-wine-adrive.sh
+++ b/deepin-wine-adrive.sh
@@ -6,26 +6,26 @@
# Peng Hao <penghao@linuxdeepin.com>
version_gt() { test "$(echo "$@" | tr " " "\n" | sort -V | head -n 1)" != "$1"; }
-BOTTLENAME=Deepin-aDrive
-APPVER=4.9.14
+BOTTLENAME=@bottlename@
+APPVER=@appver@
WINEPREFIX="${HOME}/.deepinwine/${BOTTLENAME}"
-EXEC_PATH="c:/Program Files/aDrive/aDrive.exe"
-EXEC_FILE="${WINEPREFIX}/drive_c/Program Files/aDrive/aDrive.exe"
+EXEC_PATH="c:/Program Files/@pathname@//@pathname@.exe"
+EXEC_FILE="${WINEPREFIX}/drive_c/Program Files//@pathname@//@pathname@.exe"
START_SHELL_PATH="/opt/deepinwine/tools/run_v4.sh"
export MIME_TYPE=""
-export DEB_PACKAGE_NAME="deepin-wine-adrive"
+export DEB_PACKAGE_NAME=@appname@
export APPRUN_CMD="deepin-wine6-stable"
DISABLE_ATTACH_FILE_DIALOG="1"
export SPECIFY_SHELL_DIR=`dirname ${START_SHELL_PATH}`
-ARCHIVE_FILE_DIR="/opt/apps/$DEB_PACKAGE_NAME/files"
-export WINEPREDLL="$ARCHIVE_FILE_DIR/dlls"
+ARCHIVE_FILE_DIR="/opt/apps/${DEB_PACKAGE_NAME}/files"
+export WINEPREDLL="${ARCHIVE_FILE_DIR}/dlls"
-if [ -z "$DISABLE_ATTACH_FILE_DIALOG" ];then
+if [ -z "${DISABLE_ATTACH_FILE_DIALOG}" ];then
export ATTACH_FILE_DIALOG=1
fi
if [ -n "$EXEC_PATH" ];then
- $START_SHELL_PATH $BOTTLENAME $APPVER "$EXEC_PATH" "$@"
+ "${START_SHELL_PATH}" "${BOTTLENAME}" "${APPVER}" "${EXEC_PATH}" "$@"
else
- $START_SHELL_PATH $BOTTLENAME $APPVER "uninstaller.exe" "$@"
+ "${START_SHELL_PATH}" "${BOTTLENAME}" "${APPVER}" "uninstaller.exe" "$@"
fi \ No newline at end of file