We ask the developer to obtain his own api credentials, because the bundled 'api_id' / 'api_hash' are strictly limited by the server. The old credentials still could be used for test purposes, but the developer will need to explicitly opt-in to use them.
12 lines
164 B
Batchfile
12 lines
164 B
Batchfile
@echo OFF
|
|
|
|
set "FullScriptPath=%~dp0"
|
|
|
|
python %FullScriptPath%generate.py %1 %2 %3 %4 %5 %6
|
|
if %errorlevel% neq 0 goto error
|
|
|
|
exit /b
|
|
|
|
:error
|
|
echo FAILED
|
|
exit /b 1
|