Vesktop was not using for some reason

This commit is contained in:
Siina Mashek 2024-10-10 06:18:29 +03:00
parent 22578ad686
commit 69310db954

View File

@ -1,6 +1,6 @@
#!/bin/sh
arRPCdir="$HOME/src/arRPC"
Vesktopdir="$HOME/src/Vesktop"
arRPCdir="$HOME/.local/share/arRPC"
Vesktopdir="$HOME/.local/share/Vesktop"
if [ ! $(which node) ]; then
echo "Pleases install nodejs and try again."
@ -39,9 +39,9 @@ run_arRPC () {
run_vesktop () {
echo "Starting Vesktop"
if [ ! -d $HOME/src/Vesktop ]; then install_vesktop; fi
if [ ! -d $HOME/src/Vesktop/dist/linux-unpacked ]; then build_vesktop; fi
cd $HOME/src/Vesktop/dist/linux-unpacked
if [ ! -d $Vesktopdir ]; then install_vesktop; fi
if [ ! -d $Vesktopdir/dist/linux-unpacked ]; then build_vesktop; fi
cd $Vesktopdir/dist/linux-unpacked
./vesktop \
--enable-features=UseOzonePlatform,WaylandWindowDecorations \
--ozone-platform-hint=auto