I'm trying to auto-mount a VeraCrypt volume with the correct password, PIM and then wipe the cache.
If I try this via the terminal it works fine, like so:
/Applications/VeraCrypt.app/Contents/MacOS/VeraCrypt --auto-mount=favorites --pim 243 --password=mysupersecurepassword /c
I've also tried to to separate the arguments of the command into individual commands such as:
<string>/Applications/VeraCrypt.app/Contents/MacOS/VeraCrypt --auto-mount=favorites</string>
<string>--pim 243</string>
<string>--password=mysupersecurepassword</string>
Unfortunately, I'm not a programmer and don't have any grasp of basic syntax, so I'm just trying to following other guides and instructions which are failing me. Any ideas what's wrong in the code?
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC -//Apple Computer//DTD PLIST 1.0//EN
http://www.apple.com/DTDs/PropertyList-1.0.dtd>
<plist version="1.0">
<dict>
<key>Label</key>
<string>org.veracrypt.auto-mount-favorites</string>
<key>RunAtLoad</key>
<true/>
<key>ProgramArguments</key>
<array>
<string>/Applications/VeraCrypt.app/Contents/MacOS/VeraCrypt --auto-mount=favorites --pim 243 --password=mysupersecurepassword /c</string>
</array>
</dict>
</plist>