diff --git a/util.js b/util.js index b45fdb7..839e5c8 100644 --- a/util.js +++ b/util.js @@ -103,7 +103,7 @@ import { cfg } from './config.js'; export const notify = (html) => new Promise((resolve, reject) => { if (!cfg.notify) return resolve(); const title = cfg.notify_title ? `-t ${cfg.notify_title}` : ''; - exec(`apprise ${cfg.notify} -i html ${title} -b '${html}'`, (error, stdout, stderr) => { + exec(`apprise ${cfg.notify} -i html '${title}' -b '${html}'`, (error, stdout, stderr) => { if (error) { console.log(`error: ${error.message}`); if (error.message.includes('command not found')) {