summarylogtreecommitdiffstats
path: root/deepin-wine-danmoshui.sh
blob: a0d4470ff94179de819537b1c1b70cfe8dd946cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
set -e
BOTTLENAME=@bottlename@
APPVER=@pkgver@
EXEC_PATH="c:/Program Files/@runname@_x64/@runname@.exe"
START_SHELL_PATH="/opt/deepinwine/tools/run_v4.sh"
export MIME_TYPE=""
export DEB_PACKAGE_NAME=@pkgname@
export APPRUN_CMD=deepin-wine6-stable
if [ -n "${EXEC_PATH}" ];then
    exec "${START_SHELL_PATH}" "${BOTTLENAME}" "${APPVER}" "${EXEC_PATH}" "$@" || $?
else
    exec "${START_SHELL_PATH}" "${BOTTLENAME}" "${APPVER}" "uninstaller.exe" "$@" || $?
fi