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:
2Shirt 2020-01-30 14:08:05 -07:00
parent 1fe4fd9849
commit e8522bf2bb
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C

View file

@ -1623,6 +1623,8 @@ def set_apple_fan_speed(speed):
std.print_error(f'Failed to set fans to {speed}')
for line in str(err).splitlines():
std.print_warning(f' {line.strip()}')
std.print_standard('Please upload the logs for review')
std.pause()
elif PLATFORM == 'Linux':
cmd = ['apple-fans', speed]
exe.run_program(cmd, check=False)