macos-fuse-t / fuse-t

Other
889 stars 6 forks source link

Semantic Versioning and symlinks to the latest versions #8

Open d235j opened 2 years ago

d235j commented 2 years ago

Implementing Semantic Versioning would allow for updates of fuse-t without having to maintain multiple versions of the library on the disk. Having a symlink from the 1.0.2 dylib to 1.0 to 1, as is typical on Linux, would then allow a FUSE filesystem to link against e.g. 1.0 instead of the specific 1.0.2 library.

macos-fuse-t commented 2 years ago

Hmmm, Isn't it already a link: % ls -al /usr/local/lib/libfuse-t.dylib lrwxr-xr-x 1 root wheel 21 Sep 25 23:29 /usr/local/lib/libfuse-t.dylib -> libfuse-t-1.0.2.dylib

d235j commented 2 years ago

There are no links present in /Library/Application Support/fuse-t/lib.

In my opinion it's not ideal for packaged software to rely on files being in /usr/local as someone may modify/delete items here. If some packaged software links against fuse-t it is better to use the version in /Library/Application Support.

benjioh5 commented 2 years ago

Simillar Issue -> https://github.com/macos-fuse-t/fuse-t/issues/6#issuecomment-1261949730