vesktop-bin 1.5.1-4

This commit is contained in:
2024-04-23 23:58:34 +03:00
parent faf21bb991
commit 5e8c799a9e
2 changed files with 3 additions and 3 deletions

View File

@ -20,7 +20,7 @@ for line in "${MAPFILE[@]}"; do
done
cd "${_APPDIR}"
if [[ $EUID -ne 0 ]] || [[ $ELECTRON_RUN_AS_NODE ]]; then
exec electron30 "${_RUNNAME}" "${_OPTIONS}" "$@" "${flags[@]}" || exit $?
exec electron "${_RUNNAME}" "${_OPTIONS}" "$@" "${flags[@]}" || exit $?
else
exec electron30 "${_RUNNAME}" "${_OPTIONS}" --no-sandbox "$@" "${flags[@]}" || exit $?
exec electron "${_RUNNAME}" "${_OPTIONS}" --no-sandbox "$@" "${flags[@]}" || exit $?
fi