dotfiles/tools/umount-vault

9 lines
177 B
Bash
Executable File

#!/usr/bin/env bash
set -e
VERACRYPT="veracrypt"
if [[ "$OSTYPE" == "darwin"* ]]; then
VERACRYPT="/Applications/VeraCrypt.app/Contents/MacOS/VeraCrypt"
fi
$VERACRYPT -t -d