The README says to add sindresourhus/LaunchAtLogin in the Swift Package Manager. When we open the sindresourhus/LaunchAtLogin repository, it redirects us to sindresourhus/LaunchAtLogin-Legacy, which says:
If your app targets macOS 13 or later, check out this modern version instead.
A migration guide can be found here. See sindresorhus/LaunchAtLogin-Modern for more info.