nielsmouthaan / ejectify-macos

Ejectify automatically unmounts external volumes when your Mac starts sleeping, and mounts them again after it wakes up.
https://ejectify.app
Other
386 stars 50 forks source link

Add Unmount All button #21

Closed ropc closed 3 years ago

ropc commented 3 years ago

Part of what #20 asks for. Not sure how you would like to indicate progress, in this PR it silently unmounts all in the background.

I have a change in https://github.com/ropc/ejectify-macos/tree/main that changes the icon while the unmount is in progress, which can be added to this PR if that works.

Also, this may need localizations.

nielsmouthaan commented 3 years ago

Thanks! Aiming to include this in the next release.

q8webmaster commented 11 months ago

@nielsmouthaan Can you consider adding "Mount All" button?

I just bought the app. Well done! But unfortunately, I couldn't find an option to mount all disks back. I would love to be able to mount all disks back (without sleep and then awake). The reason for this when you undock (Or re-dock) your Mac from/to a dock station, we don't go through the sleep.

nielsmouthaan commented 11 months ago

Hmm, I'm actually not sure if this will work. The references to the volumes might be gone as you're physically removing the drives. As a result, Ejectify won't be able to mount again.

q8webmaster commented 10 months ago

Hmm, I'm actually not sure if this will work. The references to the volumes might be gone as you're physically removing the drives. As a result, Ejectify won't be able to mount again.

Make sense. I think it's very complex to implement even if you keep the references stored somewhere, it might be that the reference names of devices/volumes most likely to be changed as well. I was trying to implment it using shell and i wasn't successful.