This commit is contained in:
Alexis 2021-08-19 11:44:36 +04:30 committed by GitHub
commit 1cb0de50eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -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