openwebrx icon indicating copy to clipboard operation
openwebrx copied to clipboard

Add support for MacOS X

Open ajmas opened this issue 9 years ago • 2 comments

Allow OpenWebRX to run on MacOS X. Currently the main blocker is the get_cpu_usage() function which is Linux specific. Just return -1 if '/proc/stat' is not found?

An alternative would be to make use of https://pypi.python.org/pypi/psutil ?

ajmas avatar Mar 21 '16 20:03 ajmas

Hi Andre,

I've made a workaround in commit 30e6dd97fae4b7f64f8e20fa87bdf9b3eb1b179c. I hope that it fixes the specific problem you mentioned. (Unfortunately, I do not have a Mac that I could use for testing.)

ha7ilm avatar Mar 31 '16 08:03 ha7ilm

Thanks I'll take a look when I have a few moments. I appreciate the limitations you have in testing and accept that Linux is going to be your main focus.

ajmas avatar Mar 31 '16 16:03 ajmas