Closed codebytere closed 1 year ago
This change should support backwards compatibility/migration considering falling scenarios: When launch on login was enabled with old version:
@bitdisaster oh good points - I can update the document to reflect what those cases! Does something like this:
If an app was set as a login item with the previous API, disabling the app as a login item will disable it with the old API. Enabling it again will use the new API. Additionally, it will continue to report login item status via old API until the app has been updated to use the new API.
sufficiently communicate your points in the document?
https://github.com/electron/electron/pull/37244 has now been merged.
Initial spec for a revamp of
app.{set|get}LoginItemSettings(settings)
.