You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
699 B
Plaintext

#NoEnv
#SingleInstance, Force
SendMode, Input
SetBatchLines, -1
SetWorkingDir, %A_ScriptDir%
; Fuck windows for having this hardcoded
^Esc::return
^b::
SetTitleMatchMode, 2
WinActivate Visual
Send, {Shift down}{F5}{Shift up}
Runwait, build_physics.bat
Sleep 100
Send, {F5}
Send, {Ctrl down}{Shift down}{F5}{Ctrl up}{Shift up}
; Send, {F5}
return
WinKill, Flight Hosting
WinKill, Flight Not Hosting
WinActivate, flightbuild
If WinActive("flightbuild")
{
Send, {Enter}
Send, remedybg continue-execution && timeout 1 && remedybg.exe stop-debugging && shadergen.bat && msbuild && remedybg.exe start-debugging {Enter}
}
Send, {Blind} ; So it doesn't hold down ctrl after running! WTF
return