cpuTemperature() apple silicon support

This commit is contained in:
Sebastian Hildebrandt
2022-07-14 08:33:08 +02:00
parent ff91141a8a
commit 58cef5c046
6 changed files with 17 additions and 5 deletions
+1 -1
View File
@@ -192,7 +192,7 @@
<li><span class="code">uuid()</span>: added MACs</li>
<li><span class="code">uuid()</span>: better Raspberry Pi hardware ID</li>
<li><span class="code">versions()</span>: added bash, zsh, fish, powershell, dotnet</li>
<li><span class="code">Apple M1 Silicon</span> extended support (now everything supported except of cpu temperature)</li>
<li><span class="code">Apple M1 Silicon</span> extended support</li>
<li>updated TypeScript definitions </li>
</ul>
<h4>Test Full Version 5 Functionality</h4>
+1 -1
View File
@@ -594,7 +594,7 @@ 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>This additional package is now also suppprting Apple Silicon M1 machines.</p>
<p>But if you need to detect macOS temperature just run the following additional installation command:</p>
+1 -1
View File
@@ -50,7 +50,7 @@
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>This additional package is now also supporting Apple Silicon M1 machines.</p>
<p>But if you need to detect macOS temperature just run the following additional installation command:</p>