You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maybe using platform.js? Asking for the platform seems wrong, since people aren't ever going to want to install something for a platform other than the one the script is getting executed in
The text was updated successfully, but these errors were encountered:
There is a native nodejs function for this: http://nodejs.org/api/os.html#os_os_platform. But, platform here can be "ubuntu, debian, centos, redhat, systemd, amazon". Systemd is not a platform just an alternative init system.
Maybe using platform.js? Asking for the platform seems wrong, since people aren't ever going to want to install something for a platform other than the one the script is getting executed in
The text was updated successfully, but these errors were encountered: