From da08048e01f6f44fd43ed2d0b4e3afa5468f0b7d Mon Sep 17 00:00:00 2001 From: Boris Yumankulov Date: Wed, 11 Dec 2024 17:02:18 +0500 Subject: [PATCH] Fix portproton --reinstall command --- data_from_portwine/scripts/functions_helper | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/data_from_portwine/scripts/functions_helper b/data_from_portwine/scripts/functions_helper index 6ff87bad..7a78a4e0 100755 --- a/data_from_portwine/scripts/functions_helper +++ b/data_from_portwine/scripts/functions_helper @@ -1503,6 +1503,17 @@ pw_reinstall_pp () { then echo "" exit 1 + else + pw_clear_pfx + try_remove_dir "${PORT_WINE_PATH}/data/dist" + create_new_dir "${PORT_WINE_PATH}/data/dist" + try_remove_dir "${PORT_WINE_TMP_PATH}/VULKAN" + try_remove_file "${PORT_WINE_TMP_PATH}/scripts_update_notifier" + try_remove_file "${PORT_WINE_PATH}/data/user.conf" + try_remove_file "${PORT_WINE_TMP_PATH}/scripts_ver" + echo "" + unset SKIP_CHECK_UPDATES + print_info "Restarting PP for reinstall files..." fi elif yad_question "${translations[Do you really want to reinstall PortProton?\\nFor this, an internet connection will be required.]}" ; then pw_clear_pfx