Scripts version 2174

This commit is contained in:
castro-fidel
2023-03-18 15:46:42 +03:00
parent 60d8ac4b7b
commit c946de6169
6 changed files with 39 additions and 20 deletions

View File

@ -994,8 +994,11 @@ pw_find_exe () {
--text="\n${loc_gui_create_shortcut_for_exe}" --column="path to .exe file:" ${FIND_TO_GUI})"
YAD_STATUS="$?"
print_var YAD_STATUS
if [[ "$YAD_STATUS" == "1" || "$YAD_STATUS" == "252" || -z "${PW_SET_FIND_EXE}" ]] ; then
/usr/bin/env bash -c ${pw_full_command_line[*]} &
if [[ "$YAD_STATUS" == "1" || "$YAD_STATUS" == "252" ]] ; then
if [[ -z "${PW_SET_FIND_EXE}" ]] ; then
/usr/bin/env bash -c ${pw_full_command_line[*]} &
echo "Restarting..."
fi
exit 0
fi
IFS=$OrigIFS