Fix install-all and update
This commit is contained in:
parent
f617f1353e
commit
d3a1317297
20
install-all
20
install-all
@ -1,3 +1,5 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
rm ../install-all
|
rm ../install-all
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -12,24 +14,6 @@ sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y && sudo apt update && sud
|
|||||||
|
|
||||||
git fetch;git pull origin;git submodule update --remote --recursive
|
git fetch;git pull origin;git submodule update --remote --recursive
|
||||||
|
|
||||||
#
|
|
||||||
# Install libglez
|
|
||||||
#
|
|
||||||
|
|
||||||
cd libglez;mkdir build;cd build;cmake ..;make;sudo make install;cd ..;cd ..
|
|
||||||
|
|
||||||
#
|
|
||||||
# Install libxoverlay
|
|
||||||
#
|
|
||||||
|
|
||||||
cd libxoverlay;mkdir build;cd build;cmake ..;make;sudo make install;cd ..;cd ..
|
|
||||||
|
|
||||||
#
|
|
||||||
# Install Simple-ipc
|
|
||||||
#
|
|
||||||
|
|
||||||
cd simple-ipc;mkdir build;cd build;cmake ..;make;sudo make install;cd ..;cd ..
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Build cathook
|
# Build cathook
|
||||||
#
|
#
|
||||||
|
6
update
6
update
@ -2,10 +2,6 @@
|
|||||||
sudo echo Elevated
|
sudo echo Elevated
|
||||||
#Get updated source code
|
#Get updated source code
|
||||||
git fetch;git pull origin;git submodule update --remote --recursive
|
git fetch;git pull origin;git submodule update --remote --recursive
|
||||||
#Update dependencies
|
|
||||||
cd ./libglez/build; cmake ..; make;sudo make install;cd ..; cd ..
|
|
||||||
cd ./libxoverlay/build; cmake ..; make;sudo make install;cd ..; cd ..
|
|
||||||
cd ./simple-ipc/build; cmake ..; make;sudo make install;cd ..; cd ..
|
|
||||||
#Update cathook
|
#Update cathook
|
||||||
cd build; cmake ..; make; cd ..; cd ..
|
cd build; cmake ..; make; cd ..; cd ..
|
||||||
printf "\n\n";printf '\e[1;34m%-6s\e' "Cathook update complete!";printf "\n\n"
|
printf "\n\n";printf '\e[1;34m%-6s\e' "Cathook update complete!";printf "\n\n"
|
||||||
|
Reference in New Issue
Block a user