summaryrefslogtreecommitdiffstats
path: root/MCServer/delete_windows_service.cmd (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Working as a Windows service. Starts and stops correctly.Anthony Birkett2015-04-011-0/+4
Added "/service" switch, to prompt the binary to attempt starting as a service. Added service* methods, to control service startup. Split up main() into universalMain(), which contains the startup code for both service and normal start. Added cRoot::m_RunningAsService bool, Added cRoot::SetStopping(bool) to allow a stop request to be sent by the service controller. Added cBlockIDMap::init() to avoid loading items.ini before the working directory has been set.