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