Commit ae6623ec authored by Johannes Kreiner's avatar Johannes Kreiner
Browse files

[TASK] Allow disabling desktop notifications via -q

parent dc0e78ae
......@@ -85,6 +85,10 @@ module.exports = class Logger {
* @param {Object} _options Contains advanced options
*/
static displayNotification(_title, _message, _options = {wait: false, timeout: 5000}) {
if (argv.q || argv.quiet) {
return;
}
let icon = _options.icon ? _options.icon : 'SGC.svg';
try {
if (process.platform === 'linux') {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment