When installing as a daemon, VH automatically provides a PLIST file in "/Library/LauchDaemons". This is great.
However, the PLIST file expects the config information to be located in "/Library/vhusbd.ini". To make it more macOS compliant, I suggest the config information should reside in "/Library/Application Support/VirtualHere/vhusbd.ini".
Editing the PLIST file accordingly does not help. VH seems to ignore the new PLIST location, does not find vhusbd.ini in "/Library", and therefore creates a new PLIST file in "/Library", containing the wrong (unlicensed) information.
I think we have two separate issues:
- vhusbdosx does not follow its config file argument given by the -c option. Instead, the config file always has to reside in /Library, no matter what is given by the -c option.
- The default location for the config file should be more macOS compliant – not "Library/vhusbd.ini", but "Library/Application Support/VirtualHere/vhusbd.ini".
.
Thanks for the feedback.
That is a bug, it should listen to the
-cargument when using the-bargument, i will fix this in the next build (and the path)Regarding the
-cargument you can manually fix it for now like thissudo launchctl unload com.virtualhere.vhusbdsudo vi /Library/LaunchDaemons/com.virtualhere.vhusbd.plistEdit the
-cargument inside the following<string>commandSave and then
sudo mkdir /Library/Application\ Support/VirtualHeresudo launchctl load /Library/LaunchDaemons/com.virtualhere.vhusbd.plist