fix: mac should be called darwin as this is the platform name

This commit is contained in:
Jelle Glebbeek
2021-05-30 21:24:08 +02:00
parent db785c3e7a
commit 93567127fb

View File

@@ -12,7 +12,7 @@ const actions = {
"Shutdown": ["shutdown", "-h", "now"],
"Reboot": ["shutdown", "-r", "now"]
},
"mac": {
"darwin": {
"Sleep": ["pmset", "sleepnow"],
"Shutdown": ["shutdown", "-h", "now"],
"Reboot": ["shutdown", "-r", "now"]