This repository was archived by the owner on Aug 3, 2024. It is now read-only.

Description
Hey @jessedoyle, first off thanks for your work! 🚀
As of 2023, the installer.sh file fails with:
$ curl -sSL https://raw.github.com/jessedoyle/isight-cli/master/installer.sh | bash
Downloading script from: https://raw.githubusercontent.com/jessedoyle/isight-cli/master/isight...
main: line 31: /usr/local/bin/isight: Permission denied
chmod: /usr/local/bin/isight: No such file or directory
Installation complete!
Please execute the command: 'isight help' in your terminal.
A fix would be to have the installer use sudo, I changed the installation path to work around it:
|
INSTALL_PATH="/usr/local/bin/$APP_NAME" |
To the following: INSTALL_PATH="$HOME/$APP_NAME".
Now we have the script correctly installed under our $HOME dir, but it still fails to work:
$ sudo isight off
iSight Status: Enabled
Disabling iSight...
chmod: Unable to change file mode on /System/Library/Frameworks/CoreMediaIO.framework/Versions/A/Resources/VDC.plugin/Contents/MacOS/VDC: Operation not permitted