mirror of
https://gitee.com/spark-store-project/spark-wine
synced 2025-12-18 21:11:39 +08:00
fix spark-wine9
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user