Re:Diffusion Bee: Stable Diffusion GUI App for M1 Mac
by Angostura on Monday September 12, 2022 @12:04PM
(#32812357)
Not quite sure why this couldn't sit in the Application bundle itself.
Re:Diffusion Bee: Stable Diffusion GUI App for M1 Mac
by cwizou on Monday September 12, 2022 @12:13PM
(#32812495)
As far as I understand this is downloaded data and they may offer model selection later on? If so they have little choice and putting your data in the user `/Library/Application Support` (or maybe `/Library/Caches` but that's a mess in itself) is what you're supposed to do.
With the various security changes in "recent" macOS, you can't modify your bundle and download files inside it, as it would change its signature and break the notarisation system.
Re:Diffusion Bee: Stable Diffusion GUI App for M1 Mac
by remram on Monday September 12, 2022 @12:20PM
(#32812580)
Do you mean that it should be distributed with it, or that it should write it in there when it downloads it at runtime?
Re:Diffusion Bee: Stable Diffusion GUI App for M1 Mac
by Angostura on Tuesday September 13, 2022 @03:33AM
(#32821574)
The latter. A model update would then just be an application update. To answer my own question - if they want to allow a choice of downloadable models, then Application Support is the perfect place.
As a developer the best you can usually do is put some instructions somewhere (website, somewhere in a menu in UI), or do a package install that puts an uninstaller somewhere (more of the Windows way, but it breaks many expectations from users like having your app be one icon in `Applications`, and not it's own folder with your app and maybe a "Uninstall" app there too). For Aerial I give uninstall instructions on the website, but there's not much of a standard on how to handle this (that I know of, at least).