versions() python 2 monterey (deprecated warning) fix (mac OS)
This commit is contained in:
parent
b8b1979694
commit
0511413784
@ -80,6 +80,7 @@ For major (breaking) changes - **version 4, 3 and 2** - see end of page.
|
|||||||
|
|
||||||
| Version | Date | Comment |
|
| Version | Date | Comment |
|
||||||
| -------------- | -------------- | -------- |
|
| -------------- | -------------- | -------- |
|
||||||
|
| 5.9.14 | 2021-11-17 | `versions()` python 2 monterey (deprecated warning) fix (mac OS) |
|
||||||
| 5.9.13 | 2021-11-14 | `time()` timezone name, `l1 cache` improvements |
|
| 5.9.13 | 2021-11-14 | `time()` timezone name, `l1 cache` improvements |
|
||||||
| 5.9.12 | 2021-11-13 | `users()` fix data check (windows) |
|
| 5.9.12 | 2021-11-13 | `users()` fix data check (windows) |
|
||||||
| 5.9.11 | 2021-11-12 | `fsStats()` fix null result (bsd) |
|
| 5.9.11 | 2021-11-12 | `fsStats()` fix null result (bsd) |
|
||||||
|
|||||||
@ -57,6 +57,11 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<th scope="row">5.9.14</th>
|
||||||
|
<td>2021-11-17</td>
|
||||||
|
<td><span class="code">versions()</span> python 2 monterey (deprecated warning) fix (mac OS)</td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row">5.9.13</th>
|
<th scope="row">5.9.13</th>
|
||||||
<td>2021-11-14</td>
|
<td>2021-11-14</td>
|
||||||
|
|||||||
@ -170,7 +170,7 @@
|
|||||||
<img class="logo" src="assets/logo.png">
|
<img class="logo" src="assets/logo.png">
|
||||||
<div class="title">systeminformation</div>
|
<div class="title">systeminformation</div>
|
||||||
<div class="subtitle"><span id="typed"></span> </div>
|
<div class="subtitle"><span id="typed"></span> </div>
|
||||||
<div class="version">New Version: <span id="version">5.9.13</span></div>
|
<div class="version">New Version: <span id="version">5.9.14</span></div>
|
||||||
<button class="btn btn-light" onclick="location.href='https://github.com/sebhildebrandt/systeminformation'">View on Github <i class=" fab fa-github"></i></button>
|
<button class="btn btn-light" onclick="location.href='https://github.com/sebhildebrandt/systeminformation'">View on Github <i class=" fab fa-github"></i></button>
|
||||||
</div>
|
</div>
|
||||||
<div class="down">
|
<div class="down">
|
||||||
|
|||||||
@ -786,7 +786,7 @@ function versions(apps, callback) {
|
|||||||
const gitHomebrewExists1 = fs.existsSync('/usr/local/Cellar/python');
|
const gitHomebrewExists1 = fs.existsSync('/usr/local/Cellar/python');
|
||||||
const gitHomebrewExists2 = fs.existsSync('/opt/homebrew/bin/python');
|
const gitHomebrewExists2 = fs.existsSync('/opt/homebrew/bin/python');
|
||||||
if ((util.darwinXcodeExists() && util.semverCompare('12.0.1', osVersion) < 0) || gitHomebrewExists1 || gitHomebrewExists2) {
|
if ((util.darwinXcodeExists() && util.semverCompare('12.0.1', osVersion) < 0) || gitHomebrewExists1 || gitHomebrewExists2) {
|
||||||
const cmd = gitHomebrewExists1 ? '/usr/local/Cellar/python -V 2>&1' : (gitHomebrewExists2 ? '/opt/homebrew/bin/python -V 2>&1' : 'python -V 2>&1')
|
const cmd = gitHomebrewExists1 ? '/usr/local/Cellar/python -V 2>&1' : (gitHomebrewExists2 ? '/opt/homebrew/bin/python -V 2>&1' : 'python -V 2>&1');
|
||||||
exec(cmd, function (error, stdout) {
|
exec(cmd, function (error, stdout) {
|
||||||
if (!error) {
|
if (!error) {
|
||||||
const python = stdout.toString().split('\n')[0] || '';
|
const python = stdout.toString().split('\n')[0] || '';
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user