raspishake / rsudp

Continuous visual display, sudden motion monitoring, and historical replay of Raspberry Shake data
https://raspishake.github.io/rsudp/
GNU General Public License v3.0
55 stars 32 forks source link

(OSX/Darwin) Install fails to find /opt/miniconda3 installations #48

Closed iannesbitt closed 1 month ago

iannesbitt commented 1 year ago

conda's MacOS/Darwin graphical installers put their installations in /opt[ana/mini]conda3. This evades the rsudp installer's detection and causes it to download and install an additional miniconda installation to ~/miniconda3.

We probably don't need to install to /opt on Darwin, as it is a protected directory and we want rsudp to be able to avoid permissions complications. (side note: I wonder why they install to /opt rather than the user directory...is it a security thing? I can't imagine it would make much difference in an attack, but it is very annoying to deal with...)

dmitryint commented 1 month ago

For this case we added the creation of symbolic links. This will require a sudo on run, but it works. It will also fail if there are two installations in the /opt and user folder $HOME/$release. Eurasian