-
Notifications
You must be signed in to change notification settings - Fork 24
Link to Contents folder in trampoline instead of creating separate app? #27
Description
When investigating how to solve the general issue of putting Nix Apps into Spotlight and the Dock. Did you originally try to link the Contents folder in your trampoline instead of creating a whole seperate App with applet and your custom Info.plist?
I ask, because this works for me and solves the issue I'm addressing in #26. It would not just make the whole set-up easier, but makes #24 not your problem any more, because then it is in LnL7/nix-darwin's purview.
And this might solve #17, though I cannot reproduce the issue. Maybe it's because I'm not using home-manager and it might have to do something with that. But I just tried this:
… and it works fine. I opened the app multiple times and closed the current project to see if it was not just the fluke and it somehow remembered the previously opened project.
Both variants work for me: You can either link directly to Contents folder in the Nix store. Or link to the Contents folder in /Applications/Nix Apps.
Since according to the Apple documentation, here, the Contents folder is the only subfolder of any app bundle on macOS and at least on my system there is no app with anything apart from Contents, this just might work.
Am I missing something? 🤷