Revert "build unity cathook build by default"
This commit is contained in:
parent
5088410434
commit
ac39656bce
@ -24,7 +24,7 @@ if [ $(id -u) -eq 0 ]; then
|
||||
cmake --build . --target data >/dev/null || { echo -e "\033[1;31m \n \nAuto Updater:Failed to update /opt/cathook/data directory\n\033[0m"; exit 1; }
|
||||
fi
|
||||
|
||||
sudo -u $LOGNAME bash -c 'cmake .. >/dev/null && nice -n 10 cmake --build . --target cathook_unity -- -j 1 >/dev/null' || { echo -e "\033[1;31m \n \nAuto Updater: Failed to compile cathook\n\033[0m"; exit 1; }
|
||||
sudo -u $LOGNAME bash -c 'cmake .. >/dev/null && nice -n 10 cmake --build . --target cathook -- -j 1 >/dev/null' || { echo -e "\033[1;31m \n \nAuto Updater: Failed to compile cathook\n\033[0m"; exit 1; }
|
||||
|
||||
rm -f ${LOCKFILE}
|
||||
|
||||
|
2
update
2
update
@ -13,7 +13,7 @@ fi
|
||||
#Create build folder in case it doesn't exist
|
||||
mkdir -p ./build
|
||||
# Update cathook
|
||||
cd build && cmake .. && cmake --build . --target cathook_unity -- -j$(grep -c '^processor' /proc/cpuinfo) || { echo -e "\033[1;31m \n \nFailed to compile cathook\n\033[0m"; exit 1; }
|
||||
cd build && cmake .. && cmake --build . --target cathook -- -j$(grep -c '^processor' /proc/cpuinfo) || { echo -e "\033[1;31m \n \nFailed to compile cathook\n\033[0m"; exit 1; }
|
||||
# Update data
|
||||
sudo cmake --build . --target data || { echo -e "\033[1;31m\nFailed to update /opt/cathook/data directory\n\033[0m"; exit 1; }
|
||||
echo -e "\n\033[1;34mCathook updated successfully\n\033[0m"
|
||||
|
Reference in New Issue
Block a user