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

@ -1,6 +1,6 @@
name='vesktop-bin'
version='1.5.1'
release='3'
release='4'
desc='A cross platform electron-based desktop app aiming to give you a snappier Discord experience with Vencord pre-installed'
homepage='https://github.com/Vencord/Vesktop'
maintainer="Евгений Храмов <xpamych@yandex.ru>"

@ -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