mirror of
https://gitee.com/spark-store-project/spark-wine
synced 2025-12-18 21:11:39 +08:00
update: 修复启动失败
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/bin/bash
|
||||
|
||||
# ===== Log Functions with Colors =====
|
||||
log.warn() { echo -e "[\e[33mWARN\e[0m]: \e[1m$*\e[0m"; }
|
||||
@@ -47,9 +47,12 @@ fi
|
||||
export WINEPREFIX="$HOME/.wine"
|
||||
export APPRUN_CMD="spark-wine"
|
||||
export SHELL_DIR="/opt/spark-dwine-helper"
|
||||
if [[ ! -e "$WINEPREFIX" ]];then
|
||||
${APPRUN_CMD} wineboot
|
||||
fi
|
||||
|
||||
${SHELL_DIR}/spark-dwine-helper/scale-set-helper/set-wine-scale.sh ${WINEPREFIX}
|
||||
|
||||
(
|
||||
${SHELL_DIR}/spark-dwine-helper/scale-set-helper/set-wine-scale.sh ${WINEPREFIX} &
|
||||
# ${APPRUN_CMD} reg add 'HKEY_CURRENT_USER\Software\Wine\DllOverrides' /v winemenubuilder.exe /f &
|
||||
wait
|
||||
) | gui_dialog --progress --pulsate --auto-close --no-cancel --text="正在准备应用...\nPreparing Windows APP..."
|
||||
|
||||
${APPRUN_CMD} "$@"
|
||||
|
||||
Reference in New Issue
Block a user