Added pause if fan speed can't be set under macOS
* This can be removed after a bit of real-world testing
This commit is contained in:
parent
1fe4fd9849
commit
e8522bf2bb
1 changed files with 2 additions and 0 deletions
|
|
@ -1623,6 +1623,8 @@ def set_apple_fan_speed(speed):
|
||||||
std.print_error(f'Failed to set fans to {speed}')
|
std.print_error(f'Failed to set fans to {speed}')
|
||||||
for line in str(err).splitlines():
|
for line in str(err).splitlines():
|
||||||
std.print_warning(f' {line.strip()}')
|
std.print_warning(f' {line.strip()}')
|
||||||
|
std.print_standard('Please upload the logs for review')
|
||||||
|
std.pause()
|
||||||
elif PLATFORM == 'Linux':
|
elif PLATFORM == 'Linux':
|
||||||
cmd = ['apple-fans', speed]
|
cmd = ['apple-fans', speed]
|
||||||
exe.run_program(cmd, check=False)
|
exe.run_program(cmd, check=False)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue