From b2c389cd03453297230eba1d37f4664e883284d7 Mon Sep 17 00:00:00 2001 From: IroAlexis Date: Thu, 12 Aug 2021 00:39:40 +0200 Subject: [PATCH] Use wineserver for know to wine status --- scripts/PhotoshopSetup.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/PhotoshopSetup.sh b/scripts/PhotoshopSetup.sh index ebdf453..34441c3 100755 --- a/scripts/PhotoshopSetup.sh +++ b/scripts/PhotoshopSetup.sh @@ -27,15 +27,15 @@ function main() { #config wine prefix and install mono and gecko automatic echo -e "\033[1;93mplease install mono and gecko packages then click on OK button, do not change Windows version from Windows 7\e[0m" - winecfg 2> "$SCR_PATH/wine-error.log" + wineboot --init 2> "$SCR_PATH/wine-error.log" if [ $? -eq 0 ];then show_message "prefix configured..." - sleep 5 + wineserver --wait else error "prefix config failed :(" fi - sleep 5 + wineserver --wait if [ -f "$WINE_PREFIX/user.reg" ];then #add dark mod set_dark_mod