The "BNS Resolver Daemon" and "BNS Sia Bridge" scheduled tasks were registered with New-ScheduledTaskSettingsSet's defaults, which include DisallowStartIfOnBatteries and StopIfGoingOnBatteries. On a laptop booted on battery the system-wide resolver and gateway never started, and an already-running daemon was killed the moment the charger was unplugged, so BNS names silently stopped resolving. install.ps1 (which the Inno installer runs on every install and upgrade) now registers both tasks with -AllowStartIfOnBatteries -DontStopIfGoingOnBatteries. The Argus copy of install.ps1 gets the same change. Existing installs keep the old task definitions until reinstalled, so the daemon (running as SYSTEM) now checks both tasks 30 s after start and flips just those two flags in place via Set-ScheduledTask. Every other setting and the running instance are left untouched. The fix lands on the first boot on mains power after the upgrade; battery boots work from then on. |
||
|---|---|---|
| .. | ||
| iana-tlds.txt | ||
| install.ps1 | ||
| uninstall.ps1 | ||