From e301b0363997af1ac41d27d2bc95858b3aaf6dbc Mon Sep 17 00:00:00 2001 From: Smealm <46572305+Smealm@users.noreply.github.com> Date: Wed, 5 Jul 2023 20:08:52 -0700 Subject: [PATCH] Update util.js Fixed Notify --- util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util.js b/util.js index 2725745..28a372d 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')) {