Initial commit
This commit is contained in:
21
Rank films.cmd
Normal file
21
Rank films.cmd
Normal file
@@ -0,0 +1,21 @@
|
||||
@echo off
|
||||
rem Double-click to start the ranker.
|
||||
setlocal
|
||||
cd /d "%~dp0"
|
||||
|
||||
where python >nul 2>&1
|
||||
if errorlevel 1 goto nopython
|
||||
|
||||
echo Starting the ranker. Close this window to stop it.
|
||||
echo.
|
||||
python serve.py %*
|
||||
if errorlevel 1 pause
|
||||
exit /b 0
|
||||
|
||||
:nopython
|
||||
echo Could not find python on your PATH.
|
||||
echo.
|
||||
echo Install Python 3, or make sure "python" works from a terminal, then run this again.
|
||||
echo.
|
||||
pause
|
||||
exit /b 1
|
||||
Reference in New Issue
Block a user