mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-29 09:35:39 +00:00
Changed the execution order of some custom event scripts.
This commit is contained in:
parent
fdf63a9ad0
commit
92c4ae3cdf
|
@ -287,15 +287,15 @@ namespace Utils
|
|||
switch (sQuitMode) {
|
||||
case QuitMode::REBOOT: {
|
||||
LOG(LogInfo) << "Rebooting system";
|
||||
Scripting::fireEvent("quit");
|
||||
Scripting::fireEvent("reboot");
|
||||
Scripting::fireEvent("quit");
|
||||
runRebootCommand();
|
||||
break;
|
||||
}
|
||||
case QuitMode::POWEROFF: {
|
||||
LOG(LogInfo) << "Powering off system";
|
||||
Scripting::fireEvent("quit");
|
||||
Scripting::fireEvent("poweroff");
|
||||
Scripting::fireEvent("quit");
|
||||
runPoweroffCommand();
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue