3 ms·
Bundles on macOS are/were a really good idea, but applications will still spurt some juice in weird random locations, usually in ~/Library. Fun comes when you
by bombcar 3y ago
Bundles on macOS are/were a really good idea, but applications will still spurt some juice in weird random locations, usually in ~/Library.
Fun comes when you have things like minecraft launchers that contain everything and all the worlds and saves inside the bundle.
- Klonoar 3y agoThe trick of shoving everything inside the bundle (including write things) no longer works if you're codesigned - there was always a note in the docs (buried, as usual) that while it might work it wasn't guaranteed to always work. Sure enough, as of a recent release it'll invalidate your signature if you've distributed it codesigned and write into the bundle.
- nusl 3y agoIf I wrote programs for Mac, this is one of the things that would really piss me off. Then, I'd write to ~/Library because I'm not gonna spend the time to figure out how to make it work with codesigning, if at all possible.
- Klonoar 3y agoBut like... why? If you wrote for Mac, you'd also probably follow the news and updates from Apple, which didn't exactly hide the direction they've been pushing things in. You also _should_ write to a third party folder, preferably `~/Library/Application\ Support`. It's what it's for, after all.