macOS unable to run install.sh more than once
If you run the install.sh script and encounter a problem, like the Orbic is not seen, after resolving the issue trying to run install.sh a again results in "xattr: ./serial-macos-arm/serial: No such xattr: com.apple.quarantine". Deleting the 'release' folder and untaring again lets you run install.sh once.
I changed the xattr line in the install script to
xattr -d com.apple.quarantine "$SERIAL_PATH" || echo
which just lets the script carry on when there's an error. The echo command here is really just a no-op.
opened a PR w/ @kd7dvd's fix, thanks!
Can confirm that I get this error when I try to run the script more than once.
I changed the xattr line in the install script to
xattr -d com.apple.quarantine "$SERIAL_PATH" || echowhich just lets the script carry on when there's an error. The echo command here is really just a no-op.
THANKS !!! Worked like a charm and fixed my issues. This needs to be in the release