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