From cbe785f39efdb8a9e8939ea51b0fbfa0dea148b3 Mon Sep 17 00:00:00 2001 From: Emilson Moraes Date: Fri, 5 Jan 2024 09:21:25 -0300 Subject: [PATCH] update install.js and uninstall.sh --- mac/app/install.js | 5 +++++ mac/uninstall.sh | 2 ++ 2 files changed, 7 insertions(+) diff --git a/mac/app/install.js b/mac/app/install.js index 8db36dd..53f420f 100644 --- a/mac/app/install.js +++ b/mac/app/install.js @@ -117,6 +117,11 @@ async function chrome() { 'Library/Application Support/Google/Chrome/NativeMessagingHosts' ), 'chrome'); console.log(' -> Chrome Browser is supported'); + await manifest(path.join( + process.env.HOME, + 'Library/Application Support/Google/Chrome Canary/NativeMessagingHosts' + ), 'chrome'); + console.log(' -> Chrome Canary Browser is supported'); await manifest(path.join( process.env.HOME, 'Library/Application Support/Chromium/NativeMessagingHosts' diff --git a/mac/uninstall.sh b/mac/uninstall.sh index 3c170b7..60c0d45 100755 --- a/mac/uninstall.sh +++ b/mac/uninstall.sh @@ -2,6 +2,8 @@ echo " -> Removing manifest file for Google Chrome" rm -f ~/Library/Application\ Support/Google/Chrome/NativeMessagingHosts/com.add0n.node.json +echo " -> Removing manifest file for Google Chrome Canary" +rm -f ~/Library/Application\ Support/Google/Chrome Canary/NativeMessagingHosts/com.add0n.node.json echo " -> Removing manifest file for Chromium" rm -f ~/Library/Application\ Support/Chromium/NativeMessagingHosts/com.add0n.node.json echo " -> Removing manifest file for Vivaldi"