addded restart PP after create shortcut

This commit is contained in:
Mikhail Tergoev 2024-05-03 14:08:06 +03:00
parent c71d48bb1c
commit 19e8f0b95e

@ -3496,7 +3496,10 @@ portwine_create_shortcut () {
unset PW_SKIP_RESTART_STEAM
fi
[[ "$1" != silent ]] && [[ "${PW_SKIP_RESTART_STEAM}" != 1 ]] && "${PORT_WINE_PATH}" 2>1 >/dev/null &
print_info "Restarting PP..."
export SKIP_CHECK_UPDATES=1
/usr/bin/env bash -c ${pw_full_command_line[*]} &
exit 0
fi
}