在项目根目录写个bat文件ceshi.bat
@echo off
rem taskkill /F /IM ceshi.exe
call %~dp0/simulator/win32/ceshi.exe -workdir %~dp0 -scale 1 -write-debug-log debug.log
rem taskkill /F /IM ceshi.exe
call %~dp0/simulator/win32/ceshi.exe -workdir %~dp0 -scale 1 -write-debug-log debug.log
回到sublime:
tool-》buildSystem-》new build system
{
"shell_cmd": "G:/ceshi/ceshi.bat"
}
"shell_cmd": "G:/ceshi/ceshi.bat"
}
完毕
ctrl+b执行exe文件即可