Alwinator / aw-watcher-utilization

An Activity Watch watcher that monitors CPU, RAM, disk, network, and sensor usage.
Mozilla Public License 2.0
60 stars 2 forks source link

Add support for older macOS versions #4

Closed BelKed closed 2 years ago

BelKed commented 2 years ago

There seems to be a Python library built for a newer version of macOS:

[18162] Error loading Python lib '/Users/user/Downloads/aw-watcher-utilization-macos-latest/libpython3.9.dylib': dlopen: dlopen(/Users/user/Downloads/aw-watcher-utilization-macos-latest/libpython3.9.dylib, 10): Symbol not found: ____chkstk_darwin
  Referenced from: /Users/user/Downloads/aw-watcher-utilization-macos-latest/libintl.8.dylib (which was built for Mac OS X 11.0)
  Expected in: /usr/lib/libSystem.B.dylib
 in /Users/user/Downloads/aw-watcher-utilization-macos-latest/libintl.8.dylib

So, this PR adds support for older macOS versions by building on Python for Mac OS X 10.9

Alwinator commented 2 years ago

@BelKed Looks good to me! Thank you again for your PR.