[BUG] `Install-Dependencies.bat`: Check for `requirements.txt` before executing
Closed this issue · 0 comments
SebiAi commented
Describe the bug
There are no checks if requirements.txt
exists
To Reproduce
Version 1
- Download the
Install-Dependencies.bat
on its own - Execute the script
- The scripts fails to install the python requirements without a proper error message
Version 2
- Download the whole repo as a zip file
- Execute the
Install-Dependencies.bat
script without unzipping - The scripts fails to install the python requirements without a proper error message
Screenshot
Output of the Version 2 scenario
Expected behavior
Display an error message AFTER checking the windows build version if the requirements.txt
can't be found:
The following file could not be found: 'requirements.txt'. Please make sure that you execute this script in the root of the custom-nothing-glyph-tools directory.
Insert logic here:
https://github.com/SebiAi/custom-nothing-glyph-tools/blob/34a9059982b338b2596ff780e2fdce17cd714dc6/Install-Dependencies.bat#L21C1-L21C1