updated docs
This commit is contained in:
parent
7a4c3dca03
commit
432f916359
@ -888,6 +888,8 @@ To be able to measure temperature on macOS I created a little additional package
|
|||||||
in NPM with `optionalDependencies` I unfortunately was getting unexpected warnings on other platforms.
|
in NPM with `optionalDependencies` I unfortunately was getting unexpected warnings on other platforms.
|
||||||
So I decided to drop this optional dependency for macOS - so by default, you will not get correct values.
|
So I decided to drop this optional dependency for macOS - so by default, you will not get correct values.
|
||||||
|
|
||||||
|
This additional package will unfortunately NOT work on Apple Silicon M1 machines.
|
||||||
|
|
||||||
But if you need to detect macOS temperature just run the following additional
|
But if you need to detect macOS temperature just run the following additional
|
||||||
installation command:
|
installation command:
|
||||||
|
|
||||||
|
|||||||
@ -594,6 +594,8 @@ si.cpuTemperature().then(data => console.log(data));</code></pre class="example"
|
|||||||
I unfortunately was getting unexpected warnings on other platforms. So I decided to drop this optional dependency for macOS - so by default,
|
I unfortunately was getting unexpected warnings on other platforms. So I decided to drop this optional dependency for macOS - so by default,
|
||||||
you will not get correct values.</p>
|
you will not get correct values.</p>
|
||||||
|
|
||||||
|
<p>This additional package will unfortunately not work on Apple Silicon M1 machines.</p>
|
||||||
|
|
||||||
<p>But if you need to detect macOS temperature just run the following additional installation command:</p>
|
<p>But if you need to detect macOS temperature just run the following additional installation command:</p>
|
||||||
|
|
||||||
<pre>$ npm install osx-temperature-sensor --save</pre>
|
<pre>$ npm install osx-temperature-sensor --save</pre>
|
||||||
|
|||||||
@ -50,6 +50,8 @@
|
|||||||
I unfortunately was getting unexpected warnings on other platforms. So I decided to drop this optional dependency for macOS - so by default,
|
I unfortunately was getting unexpected warnings on other platforms. So I decided to drop this optional dependency for macOS - so by default,
|
||||||
you will not get correct values.</p>
|
you will not get correct values.</p>
|
||||||
|
|
||||||
|
<p>This additional package will unfortunately not work on Apple Silicon M1 machines.</p>
|
||||||
|
|
||||||
<p>But if you need to detect macOS temperature just run the following additional installation command:</p>
|
<p>But if you need to detect macOS temperature just run the following additional installation command:</p>
|
||||||
|
|
||||||
<pre>$ npm install osx-temperature-sensor --save</pre>
|
<pre>$ npm install osx-temperature-sensor --save</pre>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user