divamgupta / diffusionbee-stable-diffusion-ui

Diffusion Bee is the easiest way to run Stable Diffusion locally on your M1 Mac. Comes with a one-click installer. No dependencies or technical knowledge needed.
https://diffusionbee.com
GNU Affero General Public License v3.0
12.16k stars 599 forks source link

Uninstall #8

Open notDavid opened 1 year ago

notDavid commented 1 year ago

Hi there,

fyi, AppCleaner doesn't find/delete the folder ~/.diffusionbee (and also there don't seem to be any uninstall instructions.)

So that hidden folder might end up eating a lot of unnecessary space on people's harddrives after removing the app :-)

Would perhaps be better to use the default folder for saving Application data, i assume that's '~/Library/Application Support/DiffusionBee'

zorrobyte commented 1 year ago

AppCleaer does a good job and this issue is pretty universal with macOS: https://freemacsoft.net/appcleaner/

gingerbeardman commented 1 year ago

Just to explain the many 👎 ...

AppCleaner does not do a good job here as it does not spot the caches at ~/.diffusionbee

Screen shot 2022-10-26 at 21 49 18
barryanders commented 1 year ago

It's not getting picked up by CleanMyMac X either.

Screenshot 2022-11-10 at 11 12 21 AM

My question is whether or not there's a way to let apps like that know about ~/.diffusionbee. I did some preliminary searching and had trouble finding anything as the results were geared toward users uninstalling things, not app developers making their app uninstaller friendly.

An uninstaller could be added to the app with it being optional whether or not to delete that folder. Some might want to keep it.

gingerbeardman commented 1 year ago

I think the problem is exacerbated by this not being a native app: the code that references the ~/.diffusionbee is in JavaScript not any native OBjC/Swift places. These uninstaller will not pick it up as it stands.

lethargosapatheia commented 1 year ago

Just to explain the many 👎 ...

AppCleaner does not do a good job here as it does not spot the caches at ~/.diffusionbee

Screen shot 2022-10-26 at 21 49 18

I think the most important argument for the thumbsdown is the fact that someone would recommend an app (who knows what privacy issues it might have and so on, but let's ignore that for now) for something as easy as uninstalling a particular app, so only for this case. The process is supposed to be transparent.

If you need a general cleaning-up app, then that might be the way to go, sure.

Teloshav commented 2 months ago

Wouldn't it be simpler for the app to have a built in uninstaller? 🤔

lethargosapatheia commented 2 months ago

Yes, obviously :) I've no idea if things have changed in the meantime, I haven't used it since my last post.

wraybowling commented 2 weeks ago

they haven't changed. To everyone trying to explain away that some 3rd party tool can or can't detect huge files that the average user will absolutely miss, you're missing the point. The problem is two-fold. First, there's no settings to install the application's bulky models in a custom location like an external hard drive for example. And then, yeah, somewhere also in settings an uninstall button would be kind to the average user.