trentbrooks/BrainWaveOSC

0.93 edited settings file not read by top level app?

dizzybanjo opened this issue · 7 comments

When settings.xml is edited to include a different bluetooth port eg.

/dev/tty.MindWaveMobile-DevA

It appears that the app does not use this. When running the package it reports still using -DevB

If I open the package and run BrainWaveOSC in the MacOS folder it runs as expected ( DevA )

Same here, did anyone solve this issue?

Has anyone managed to figure this out? I'm really struggling with this.

Hey guys, apologies for this. I took a look again the other day and pushed out a new OSX release: https://github.com/trentbrooks/BrainWaveOSC/releases/tag/v0.992

Unfortunately the issue still occurred. The app is fine (settings can be edited etc) before I upload to Github- but after I upload then download/test the issue remains. Not sure what it is exactly, could be github- maybe a dropbox link instead might work? If anyone wants to test let me know.

Temporarily the app is still runnable if you right click the .app file > show package contents > Contents > MacOS > then run the 'BrainWaveOSC' executable from there.

UPDATE: found a related forum post from Zach here: https://forum.openframeworks.cc/t/macos-app-does-not-find-data-folder-once-extracted-from-a-zip-archive/30978/2

Don't think the dropbox link will work. The fix based on the forum post is in the latest release instructions (adding here as well).

Using terminal, go to the folder directory:
cd /Users/USERNAME/Downloads/BrainWaveOSC_OSX_0.992
Remove the 'com.apple.quarantine' aattribute from the .app file:
sudo xattr -r -d com.apple.quarantine ./BrainWaveOSC.app