diff --git a/data_from_portwine/scripts/functions_helper b/data_from_portwine/scripts/functions_helper index ffe67212..9a551c49 100755 --- a/data_from_portwine/scripts/functions_helper +++ b/data_from_portwine/scripts/functions_helper @@ -7503,7 +7503,7 @@ portwine_start_debug () { pw_create_prefix_backup () { cd "$HOME" || : - PW_PREFIX_TO_BACKUP=$("${pw_yad}" --file --directory --width=800 --height=500 \ + PW_PREFIX_TO_BACKUP=$("${pw_yad}" --file --directory --width=800 --height=600 \ --window-icon="$PW_GUI_ICON_PATH/portproton.svg" --title "${translations[BACKUP PREFIX TO...]}" \ --button="${translations[CANCEL]}!$PW_GUI_ICON_PATH/$BUTTON_SIZE.png":1 \ --button="${translations[OK]}!$PW_GUI_ICON_PATH/$BUTTON_SIZE.png":0 2>/dev/null) @@ -7513,7 +7513,7 @@ pw_create_prefix_backup () { restart_pp fi - if pw_create_prefix_backup "$PW_PREFIX_NAME" "$PW_PREFIX_TO_BACKUP" ; then + if pw_create_prefix_backup_cli "$PW_PREFIX_NAME" "$PW_PREFIX_TO_BACKUP" ; then yad_info "${translations[Backup has been successfully created for prefix:]} $PW_PREFIX_NAME" if [[ ! -f "${PORT_WINE_TMP_PATH}/pfx_backup_info" ]] ; then yad_info "${translations[Attention! Do not pass the resev copy to third parties, there is a risk of losing accounts!]}" @@ -7525,7 +7525,7 @@ pw_create_prefix_backup () { restart_pp } -pw_create_prefix_backup () { +pw_create_prefix_backup_cli () { PW_PREFIX_NAME="$1" PW_PREFIX_TO_BACKUP="$2" diff --git a/data_from_portwine/scripts/start.sh b/data_from_portwine/scripts/start.sh index 30450ef0..0741c0af 100755 --- a/data_from_portwine/scripts/start.sh +++ b/data_from_portwine/scripts/start.sh @@ -513,7 +513,7 @@ $(echo $files_from_autoinstall | awk '{for (i = 1; i <= NF; i++) {if (i % 10 == ;; --backup-prefix) # portproton --backup-prefix - pw_create_prefix_backup "$2" "$3" + pw_create_prefix_backup_cli "$2" "$3" exit $? ;; --restore-prefix)