* fix: always emit `executableWillLaunchAtLogin` from getLoginItemSettings `Converter<LoginItemSettings>::ToV8` only set `executableWillLaunchAtLogin` inside the Windows build block, so calling `app.getLoginItemSettings()` on macOS returned an object where the property was `undefined` rather than the boolean its type implies. Move the `executable_will_launch_at_login` field out of the Windows-only section of `LoginItemSettings` (it keeps its `false` default everywhere) and unconditionally emit the property in the V8 converter. The value is still only meaningful on Windows; on other platforms it is always `false`. Co-authored-by: Sam Attard <sattard@anthropic.com> * test: include executableWillLaunchAtLogin in SMAppService expectations Co-authored-by: Sam Attard <sattard@anthropic.com> --------- Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: Sam Attard <sattard@anthropic.com> |
||
|---|---|---|
| .. | ||
| app | ||
| browser | ||
| common | ||
| renderer | ||
| services/node | ||
| utility | ||