diff --git a/apsalar/vesktop b/apsalar/vesktop index 2119a2d..1c3ca59 100755 --- a/apsalar/vesktop +++ b/apsalar/vesktop @@ -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