change token.txt location
This commit is contained in:
parent
c86a67d06c
commit
e206113949
@ -12,11 +12,11 @@ workdir/
|
||||
├── build_engine_sdk/
|
||||
├── poomer-discord-hello-world/
|
||||
└── lib
|
||||
└── dpp # contains include files of D++
|
||||
└── dpp # contains include files of
|
||||
└─â”token.txt
|
||||
├── DPP/
|
||||
├── makefile
|
||||
├── README.md
|
||||
└── token.txt
|
||||
```
|
||||
|
||||
## Linux
|
||||
|
||||
@ -26,7 +26,7 @@ int main() {
|
||||
if (!token_file.is_open()) {
|
||||
// if not, try parent directory
|
||||
if (!token_file.is_open()) {
|
||||
token_file_path = "../token.txt";
|
||||
token_file_path = "token.txt";
|
||||
token_file.open(token_file_path);
|
||||
if (!token_file.is_open())
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user