fix-arm-wine8

This commit is contained in:
2024-04-26 14:09:00 +08:00
parent 634953991f
commit 65373ab5b1
3 changed files with 83 additions and 0 deletions
@@ -41,6 +41,14 @@ fi
if [ $APPRUN_CMD ]; then
WINE_CMD=$APPRUN_CMD
fi
#####################
if [ "$WINE_CMD" = "deepin-wine8-stable" ] && [ "$(arch)" != "x86_64" ];then
WINE_CMD="/opt/durapps/spark-dwine-helper/deepin-wine8-stable-wrapper/deepin-wine8-stable"
log.warn "Using deepin-wine8-stable wrapper to fix arm problem"
fi
#####################
if [ $SPECIFY_SHELL_DIR ]; then
SHELL_DIR=$SPECIFY_SHELL_DIR