matyalatte / tuw

Tiny GUI wrapper for command-line tools
MIT License
17 stars 1 forks source link

Option to disable message dialogues #37

Open matyalatte opened 5 days ago

matyalatte commented 5 days ago

Related to #34. It is undesirable to display a dialog after executing a command that only launches another application, such as the start command on Windows. There should be an option to skip the dialogues.

matyalatte commented 4 days ago

Added an option show_success_dialog at eaa61172e76533038a68742a065ac02f4abecd70. The default value is true. When false, tuw does nothing after executing a command.

Usage

{
    "gui": [
        {
            "label": "Option to skip success dialog",
            "show_success_dialog": false,
            "command": "echo Hello!",
            "components": []
        }
    ]
}