🐛 fixed initial setup problem

This commit is contained in:
EntireTwix 2021-07-14 23:51:22 -07:00
parent cbcfc1118c
commit 2599897788
3 changed files with 3 additions and 1 deletions

View file

@ -52,7 +52,8 @@ AVX2_CFLAGS=-mavx2 SSSE3_CFLAGS=-mssse3 SSE41_CFLAGS=-msse4.1 SSE42_CFLAGS=-msse
cd ../..
mkdir build
cd build
mv ../config.json config.json
cp ../config.json config.json
cp ../users.dat users.dat
```
### CMake Flags

View file

@ -341,6 +341,7 @@ void Bank::Load()
std::ifstream users_load(users_location, std::ios::out | std::ios::binary);
if (!users_load.is_open())
{
std::ofstream users_save(users_location, std::ios::out | std::ios::binary);
throw std::invalid_argument("Cannot access loading file\n");
}

BIN
users.dat Normal file

Binary file not shown.