Merge pull request #293 from Kr4ken-9/master

Update for Check data name change
This commit is contained in:
oneechanhax 2017-08-25 17:29:11 -05:00 committed by GitHub
commit 265801559c
3 changed files with 4 additions and 4 deletions

View File

@ -59,12 +59,12 @@ If you don't use Ubuntu or Arch (or if Arch script gets outdated), here's the li
* `libsdl2-dev` * `libsdl2-dev`
* `libglew-dev:i386` * `libglew-dev:i386`
* `libfreetype6-dev:i386` * `libfreetype6-dev:i386`
* `rsync` (used for copying shaders/fonts to tf2 data directory, `update-data` script) * `rsync` (used for copying shaders/fonts to tf2 data directory, `check-data` script)
Cathook installation script: Cathook installation script:
```bash ```bash
git clone --recursive https://github.com/nullifiedcat/cathook && cd cathook && bash build-tf2 && bash update-data git clone --recursive https://github.com/nullifiedcat/cathook && cd cathook && bash build-tf2 && bash check-data /opt/cathook/data
``` ```
**Errors while installing?** **Errors while installing?**

View File

@ -177,7 +177,7 @@ void hack::Initialize() {
for (const auto& s : essential) { for (const auto& s : essential) {
std::ifstream exists(DATA_PATH "/" + s, std::ios::in); std::ifstream exists(DATA_PATH "/" + s, std::ios::in);
if (not exists) { if (not exists) {
Error("Missing essential file: " DATA_PATH "/%s\nYou MUST run update-data script to finish installation", s.c_str()); Error("Missing essential file: " DATA_PATH "/%s\nYou MUST run check-data script to finish installation", s.c_str());
} }
} }
} }

View File

@ -4,7 +4,7 @@ git pull origin master
git submodule update --remote --recursive git submodule update --remote --recursive
make clean make clean
./update-data ./check-data /opt/cathook/data
## Ask user if they would like to update the menu ## Ask user if they would like to update the menu