Dimillian / Dimillian/IceCubesApp
Declare support for HTTPS URLs in Info.plist
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Swift
- Stars
- 7.1k
- Forks
- 720
- PR merge metrics
- No merged PRs in 30d
Description
The following works when running the app on macOS:
open -a 'Ice Cubes' 'https://mastodon.social/@sindresorhus/109983299847844086'
However, the app does not declare support for URLs, so sandboxed apps will not be able to open URLs with Ice Cubes.
To fix this, simply add this to Info.plist:
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
<key>CFBundleURLSchemes</key>
<array>
<string>https</string>
</array>
</dict>
</array>
My specific use-case is that I'm adding support for Mastodon in my browser picker app.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the macOS app target's Info.plist and review how its URL handling is configured. Add the requested HTTPS URL support declaration, then verify that a sandboxed app can open an HTTPS link with Ice Cubes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- desktop-dev
- Issue type
- Feature
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100