Re: How to obtain OS and HW info?
- From: Andrea Giammarchi <andrea giammarchi gmail com>
- To: Giovanni Campagna <scampa giovanni gmail com>
- Cc: javascript-list <javascript-list gnome org>
- Subject: Re: How to obtain OS and HW info?
- Date: Tue, 15 Mar 2016 23:41:19 +0000
Small C library means compiling/building and tons of extra problems I'm actually trying to avoid with this `jsgtk` project so that's not an option.
Also bringing in anything heavier than a `process.platform` switch to try to figure out what command line string would be more appropriate to execute and parse is probably not the best path to follow ... I was truly hoping for some magic/hidden trick I'm not aware of, something able to give GNOME Details info that kind of details, but I start believing I'm better off with a "i18n language like" logic that speaks different OS and versions and return the right thing, assuming modern Linux and OSX would be my targets so far.
So, fair enough, and thanks for the hint, I'll try to figure out what'd be the best way to solve such problem.
About `jsgtk`, it sadden me so much GJS had no traction at all, being JS24 based and with a `python_case` syntax nobody in JS world feels OK about, that I couldn't resist trying to bring in an almost 1:1 node.js environment capable of bringing in the awesome GTK3 potential, I'm not sure why it doesn't exist already as a project.
We tried node-gtk with native gyp changes but it got stuck as a project, so whoever would like to help wth `jsgtk` is ,ore than welcome.
People don't know what's possible to do with it: they **should**
Best Regards
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]