updated docs

This commit is contained in:
Sebastian Hildebrandt 2021-10-23 10:01:01 +02:00
parent 7a4c3dca03
commit 432f916359
3 changed files with 6 additions and 0 deletions

View File

@ -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.
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
installation command:

View File

@ -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,
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>
<pre>$ npm install osx-temperature-sensor --save</pre>

View File

@ -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,
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>
<pre>$ npm install osx-temperature-sensor --save</pre>