OpenBCI / OpenBCI_GUI

A cross platform application for the OpenBCI Cyton and Ganglion. Tested on Mac, Windows and Ubuntu/Mint Linux.
MIT License
708 stars 257 forks source link

Fix brainflow library unpacking for MacOS #1175

Closed philippitts closed 1 year ago

philippitts commented 1 year ago

Looks good. Tested both running from Processing 4.3 and running the built DMG on MacOS 12.5.1.

philippitts commented 1 year ago

We need to update the documentation to notify developers on MacOS that they will need to set the following environment variable when running from Processing.

export ld_library_path=/path/to/libraries/brainflow
philippitts commented 1 year ago

We also need to update the license agreement popup when installing the application from the DMG on MacOS.

retiutut commented 1 year ago

This looks similar to the fix for OpenBCI_GUI_Helpers library!

It may not always be able to unpack .dlls, and they are supposed to be in certain folders, but having them be unpacked already solves a lot of problems.