dsh-napcat-keeper
Keeps the NapCat QQ backend alive next to DSH: probes the OneBot 11 HTTP port at startup, launches NapCat when the port does not answer, then rechecks every 45 seconds, kills duplicate process chains, hides the console window, can create a logon scheduled task when a task name is set, and adds a settings page plus napcat_status, napcat_restart and napcat_dedupe tools. Optionally remembers the QQ password, behind a risk confirmation, so an expired fast-login token can be renewed without scanning a QR code. Windows only; without that scheduled task the launched QQ exits together with DSH.
Overview
Keeps the NapCat QQ backend alive next to DSH: probes the OneBot 11 HTTP port at startup, launches NapCat when the port does not answer, then rechecks every 45 seconds, kills duplicate process chains, hides the console window, can create a logon scheduled task when a task name is set, and adds a settings page plus napcat_status, napcat_restart and napcat_dedupe tools. Optionally remembers the QQ password, behind a risk confirmation, so an expired fast-login token can be renewed without scanning a QR code. Windows only; without that scheduled task the launched QQ exits together with DSH.
Installation
Version compatibility
Compatibility is unconfirmed. Check the project documentation for supported versions.
Installation notes
- May run terminal commands
- May require credentials