| 3020 | .pipe(Options.withDescription("Port the supervised daemon binds (loopback only).")); |
| 3021 | |
| 3022 | const serviceBootOption = () => |
| 3023 | Options.boolean("boot") |
| 3024 | .pipe(Options.withDefault(false)) |
| 3025 | .pipe( |
| 3026 | Options.withDescription( |
| 3027 | "Windows only: start the daemon at boot before any login (needs an Administrator shell). " + |
| 3028 | "Default installs a per-user login task that needs no elevation.", |
| 3029 | ), |
| 3030 | ); |
| 3031 | |
| 3032 | const serviceManagerName = (platform: ReturnType<typeof getServiceBackend>["platform"]): string => { |
| 3033 | switch (platform) { |