updating vesktop to download and build missing things for arrpc
This commit is contained in:
parent
f1b9783547
commit
46be5410ed
1 changed files with 13 additions and 1 deletions
|
@ -2,6 +2,11 @@
|
|||
arRPCdir="$HOME/src/arRPC"
|
||||
Vesktopdir="$HOME/src/Vesktop"
|
||||
|
||||
if [ ! $(which node) ]; then
|
||||
echo "Pleases install nodejs and try again."
|
||||
exit
|
||||
fi
|
||||
|
||||
install_arRPC () {
|
||||
echo "Installing arRPC"
|
||||
git clone https://github.com/OpenAsar/arRPC "$arRPCdir"
|
||||
|
@ -11,10 +16,16 @@ install_arRPC () {
|
|||
|
||||
install_vesktop () {
|
||||
echo "Installing Vesktop"
|
||||
export COREPACK_ENABLE_STRICT=0
|
||||
pull_vesktop
|
||||
build_vesktop
|
||||
git clone https://github.com/Vencord/Vesktop $Vesktopdir
|
||||
}
|
||||
|
||||
build_vesktop () {
|
||||
export COREPACK_ENABLE_STRICT=0
|
||||
cd $Vesktopdir
|
||||
pnpm i
|
||||
pnpm package:dir
|
||||
echo "Vesktop installed"
|
||||
}
|
||||
|
||||
|
@ -29,6 +40,7 @@ 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
|
||||
./vesktop \
|
||||
--enable-features=UseOzonePlatform,WaylandWindowDecorations \
|
||||
|
|
Loading…
Reference in a new issue