Merge pull request #293 from Kr4ken-9/master
Update for Check data name change
This commit is contained in:
commit
265801559c
@ -59,12 +59,12 @@ If you don't use Ubuntu or Arch (or if Arch script gets outdated), here's the li
|
||||
* `libsdl2-dev`
|
||||
* `libglew-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:
|
||||
```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?**
|
||||
|
@ -177,7 +177,7 @@ void hack::Initialize() {
|
||||
for (const auto& s : essential) {
|
||||
std::ifstream exists(DATA_PATH "/" + s, std::ios::in);
|
||||
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());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -4,7 +4,7 @@ git pull origin master
|
||||
git submodule update --remote --recursive
|
||||
make clean
|
||||
|
||||
./update-data
|
||||
./check-data /opt/cathook/data
|
||||
|
||||
|
||||
## Ask user if they would like to update the menu
|
||||
|
Reference in New Issue
Block a user