summarylogtreecommitdiffstats
path: root/deepin-wine-danmoshui.sh
blob: 7128ec9dbc1dbfa7e34d63fc1abcc966063d1375 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
set -e
BOTTLENAME=Deepin-
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