fix spark-wine9

This commit is contained in:
2025-03-03 21:46:58 +08:00
parent 2d7a7b0c00
commit 935c27d04c

View File

@@ -21,9 +21,9 @@ if [[ $# -eq 0 ]]; then
exit 1
fi
# Check if spark-wine is installed
if ! command -v spark-wine &>/dev/null; then
gui_dialog --question --text="您尚未安装 spark-wine9 ,是否安装以运行 Windows 应用?\nYou haven't installed spark-wine yet. Would you like to install it to run Windows applications?"
# Check if spark-wine9 is installed
if ! command -v spark-wine9 &>/dev/null; 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?"
if [[ $? -ne 0 ]]; then
log.error "User refused to install. Exiting."
exit 1