Merge pull request #361 from aroonav/master

Enable starting the cheat python script on windows.
This commit is contained in:
Chris Allen Lane 2019-02-06 10:25:29 -05:00 committed by GitHub
commit 4dd55105d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

8
bin/cheat.bat Normal file
View File

@ -0,0 +1,8 @@
@echo OFF
if not defined CHEAT_EDITOR if not defined EDITOR if not defined VISUAL (
set CHEAT_EDITOR=write
)
REM %~dp0 is black magic for getting directory of script
python %~dp0cheat %*