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
//this._executeCommand(['bash', '-c', 'if ls /sys/class/hwmon/hwmon*/temp*_input 1>/dev/null 2>&1; then echo "EXIST"; fi']).then(output => {
720
+
// let result = output.split('\n')[0];
721
+
// if (result === 'EXIST') {
722
+
// this._executeCommand(['bash', '-c', 'for i in /sys/class/hwmon/hwmon*/temp*_input; do NAME="$(<$(dirname $i)/name)"; if [[ "$NAME" == "amdgpu" ]]; then echo "$NAME: $(cat ${i%_*}_label 2>/dev/null || echo $(basename ${i%_*}))-$i"; fi done']).then(output => {
723
+
/* let lines = output.split('\n');
724
+
725
+
for (let i = 0; i < lines.length - 1; i++) {
726
+
let line = lines[i];
727
+
let entry = line.trim().split(/-/);
728
+
729
+
let device = entry[0];
730
+
let path = entry[1];
731
+
732
+
let statusButton = false;
733
+
734
+
// Init gui
735
+
for (let i = 0; i < cpuTempsArray.length; i++) {
736
+
let element = cpuTempsArray[i];
737
+
let it = element.split(THERMAL_CPU_TEMPERATURE_DEVICES_LIST_SEPARATOR);
0 commit comments