1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2025-11-11 02:58:02 -06:00

macOS: Create symlink to VeraCrypt binary at /usr/local/bin/veracrypt during installation

This makes it easier to use the VeraCrypt CLI in a manner similar to Linux systems.
This commit is contained in:
Mounir IDRASSI
2025-05-29 05:48:40 +09:00
parent 71f538bcda
commit b64b7c9ca4
2 changed files with 12 additions and 0 deletions

View File

@@ -7,4 +7,10 @@ fi
chmod -R go-w /Applications/VeraCrypt.app chmod -R go-w /Applications/VeraCrypt.app
# create simlink to VeraCrypt binary in /usr/local/bin
if !([ -e "/usr/local/bin/veracrypt" ])
then
ln -s /Applications/VeraCrypt.app/Contents/MacOS/VeraCrypt /usr/local/bin/veracrypt
fi
exit 0 exit 0

View File

@@ -2,4 +2,10 @@
chmod -R go-w /Applications/VeraCrypt.app chmod -R go-w /Applications/VeraCrypt.app
# create simlink to VeraCrypt binary in /usr/local/bin
if !([ -e "/usr/local/bin/veracrypt" ])
then
ln -s /Applications/VeraCrypt.app/Contents/MacOS/VeraCrypt /usr/local/bin/veracrypt
fi
exit 0 exit 0