rayhunter icon indicating copy to clipboard operation
rayhunter copied to clipboard

macOS unable to run install.sh more than once

Open dr-agonfly opened this issue 9 months ago • 3 comments

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.

dr-agonfly avatar Mar 26 '25 20:03 dr-agonfly

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.

kd7dvd avatar Mar 26 '25 22:03 kd7dvd

opened a PR w/ @kd7dvd's fix, thanks!

wgreenberg avatar Mar 28 '25 19:03 wgreenberg

Can confirm that I get this error when I try to run the script more than once.

blanchardjeremy avatar Mar 29 '25 16:03 blanchardjeremy

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.

THANKS !!! Worked like a charm and fixed my issues. This needs to be in the release

klb331 avatar Apr 04 '25 20:04 klb331