Force reg key creation in case it exists, otherwise install is interrupted

This commit is contained in:
the-sane 2024-09-20 11:43:08 -04:00
parent 7a0c85431a
commit b9312cf69d

View File

@ -2570,7 +2570,7 @@ install_game_wine() {
winecfg -v win11 >"$tmp_install_log" 2>&1 && winecfg -v win11 >"$tmp_install_log" 2>&1 &&
# Add registry key that prevents wine from creating unnecessary file type associations # Add registry key that prevents wine from creating unnecessary file type associations
wine reg add "HKEY_CURRENT_USER\Software\Wine\FileOpenAssociations" /v Enable /d N >"$tmp_install_log" 2>&1 wine reg add "HKEY_CURRENT_USER\Software\Wine\FileOpenAssociations" /v Enable /d N /f >"$tmp_install_log" 2>&1
# Install powershell # Install powershell
debug_print continue "Installing dxvk and powershell, please wait..." debug_print continue "Installing dxvk and powershell, please wait..."