native-dialog-rs
native-dialog-rs copied to clipboard
Maintaining compatibility with old zenity version
-
The current code version has an implementation error when passing the option "icon-name"/"icon", the code adds the option value as an other argument:
zenity --question --icon dialog-informationfor example. -
Currently when parsing the output of
"zenity/kdialog" --versionusingSemVer::new()it will fail to parse it since it ends with '\n' -
Catching and returning
"zenity/kdialog"errors will help to debug better when an error occurs