Signed-off-by: shenmo <jifengshenmo@outlook.com>
This commit is contained in:
2025-03-03 15:25:45 +00:00
committed by Gitee
parent 935c27d04c
commit ada388d347

View File

@@ -22,7 +22,7 @@ if [[ $# -eq 0 ]]; then
fi fi
# Check if spark-wine9 is installed # Check if spark-wine9 is installed
if ! command -v spark-wine9 &>/dev/null; then if [[ ! -e "/usr/bin/spark-wine9" ]]; then
gui_dialog --question --text="您尚未安装 spark-wine9 ,是否安装以运行 Windows 应用?\nYou haven't installed spark-wine9 yet. Would you like to install it to run Windows applications?" gui_dialog --question --text="您尚未安装 spark-wine9 ,是否安装以运行 Windows 应用?\nYou haven't installed spark-wine9 yet. Would you like to install it to run Windows applications?"
if [[ $? -ne 0 ]]; then if [[ $? -ne 0 ]]; then
log.error "User refused to install. Exiting." log.error "User refused to install. Exiting."
@@ -63,4 +63,4 @@ wait
) | gui_dialog --progress --pulsate --auto-close --no-cancel --text="正在准备应用...\nPreparing Windows APP..." ) | gui_dialog --progress --pulsate --auto-close --no-cancel --text="正在准备应用...\nPreparing Windows APP..."
${APPRUN_CMD} "$@" ${APPRUN_CMD} "$@"
/opt/spark-dwine-helper/spark-dwine-helper/spark-wine-desktop-auto-cleanner /opt/spark-dwine-helper/spark-dwine-helper/spark-wine-desktop-auto-cleanner