mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-30 13:05:25 -05:00
impr: General code cleanup
This commit is contained in:
@@ -42,7 +42,7 @@ namespace hex {
|
||||
log::fatal(message);
|
||||
if (isFileInPath("zenity")) {
|
||||
executeCmd({"zenity", "--error", "--text", message});
|
||||
} else if(isFileInPath("notify-send")) {
|
||||
} else if (isFileInPath("notify-send")) {
|
||||
executeCmd({"notify-send", "-i", "script-error", "Error", message});
|
||||
} // Hopefully one of these commands is installed
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user