sindresorhus / KeyboardShortcuts

⌨️ Add user-customizable global keyboard shortcuts (hotkeys) to your macOS app in minutes
https://swiftpackageindex.com/sindresorhus/KeyboardShortcuts/documentation/keyboardshortcuts/keyboardshortcuts
MIT License
1.99k stars 184 forks source link

feat: add support of visionOS #167

Closed Harry-KNIGHT closed 5 months ago

Harry-KNIGHT commented 5 months ago

I got a project who needs this library on visionOS but this platform wasn't supported on the Package.swift.

I added it, compiled on Vision Pro simulator all is OK.

sindresorhus commented 5 months ago

That's not how the platform field works. It's used to define minimum platform. It doesn't mean platforms not listed are not allowed.