Open cryptix opened 6 years ago
You can specific custom copy directory via copyDir
You are right, individual packages are better but its a little tedious for the benefits because I haven't add new features for a long time, especially currently I have no project is using this package. But I can review PRs and publish new packages if I have time, so prs are still welcome!
I have think about this before, but go is not good to commuticate with node, I have tried rs-systray but it doesn't support macOS.
I'm having problems with the way the helper binaries are stuffed under
$HOME/.cache
. It has problems on uncommon platforms and hides an external dependency.Supporting other architectures, like arm(64), will also lead to an explosion of files in the
trayBin
folder and increase the size of the npm package much more.Wouldn't it make more sense to clearly state the external dependeny and make individual packages for systray-portable? As a gopher myself I could help with that.
A more nodejs/self-contained approach would be native cxx module but that is not my arena of expertise.