diff --git a/data_from_portwine/scripts/start.sh b/data_from_portwine/scripts/start.sh index e058e947..ea2a54fb 100755 --- a/data_from_portwine/scripts/start.sh +++ b/data_from_portwine/scripts/start.sh @@ -315,7 +315,9 @@ fi if ! check_flatpak ; then if [[ -f "${PW_TMPFS_PATH}/portproton.lock" ]] ; then print_warning "Found lock file: ${PW_TMPFS_PATH}/portproton.lock" - yad_question "${translations[A running PortProton session was detected.\\nDo you want to end the previous session?]}" || exit 0 + if [[ $START_FROM_STEAM != "1" ]] + then yad_question "${translations[A running PortProton session was detected.\\nDo you want to end the previous session?]}" || exit 0 + fi fi touch "${PW_TMPFS_PATH}/portproton.lock" rm_lock_file () { @@ -417,7 +419,9 @@ EOF fi done < "$PORT_WINE_PATH/data/prefixes/$PW_PREFIX_NAME/.create_shortcut" fi - yad_info "${translations[Unpack is DONE for prefix:]} \"${PW_PREFIX_NAME}\"." + if [[ $START_FROM_STEAM != "1" ]] + then yad_info "${translations[Unpack is DONE for prefix:]} \"${PW_PREFIX_NAME}\"." + fi exit 0 fi fi