Skip to content

Commit

Permalink
增加 showHttpDebug 修改后需要重启服务的功能 v1.10
Browse files Browse the repository at this point in the history
  • Loading branch information
pattazl committed Oct 15, 2023
1 parent 1eaa1e5 commit 099bd59
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion events.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ IniMonitor(){
; 如果端口发生了变化则需要完全重启
newPort :=IniRead(IniFile,"common","serverPort",9900 )
newRemoteType :=IniRead(IniFile,"common","remoteType",1 )
if newPort != serverPort || newRemoteType != remoteType
newShowHttpDebug :=IniRead(IniFile,"common","showHttpDebug",0 )
if newPort != serverPort || newRemoteType != remoteType || newShowHttpDebug != showHttpDebug
{
ExitServer()
Sleep(200) ; 最好等待一会儿
Expand Down

0 comments on commit 099bd59

Please sign in to comment.