Răsfoiți Sursa

add uninstall scripts

Gildas 4 ani în urmă
părinte
comite
42638bb63d

+ 2 - 0
companion/linux/chrome/uninstall.sh

@@ -0,0 +1,2 @@
+#!/bin/sh
+rm -f ~/.config/google-chrome/NativeMessagingHosts/singlefile_companion.json

+ 2 - 0
companion/linux/firefox/uninstall.sh

@@ -0,0 +1,2 @@
+#!/bin/sh
+rm -f ~/.mozilla/native-messaging-hosts/singlefile_companion.json

+ 2 - 0
companion/mac/chrome/uninstall.sh

@@ -0,0 +1,2 @@
+#!/bin/sh
+rm -f ~/Library/Application Support/Google/Chrome/NativeMessagingHosts/singlefile_companion.json

+ 2 - 0
companion/mac/firefox/uninstall.sh

@@ -0,0 +1,2 @@
+#!/bin/sh
+rm -f ~/Library/Application Support/Mozilla/NativeMessagingHosts/singlefile_companion.json

+ 2 - 0
companion/win/chrome/uninstall.bat

@@ -0,0 +1,2 @@
+@echo off
+reg delete "HKEY_CURRENT_USER\Software\Google\Chrome\NativeMessagingHosts\singlefile_companion" /ve /f

+ 2 - 0
companion/win/firefox/uninstall.bat

@@ -0,0 +1,2 @@
+@echo off
+reg delete "HKEY_CURRENT_USER\Software\Mozilla\NativeMessagingHosts\singlefile_companion" /ve /f