Преглед изворни кода

added update-registry scripts

Gildas пре 5 година
родитељ
комит
13181fb098
2 измењених фајлова са 5 додато и 0 уклоњено
  1. 2 0
      companion/win/chrome/update-registry.bat
  2. 3 0
      companion/win/firefox/update-registry.bat

+ 2 - 0
companion/win/chrome/update-registry.bat

@@ -0,0 +1,2 @@
+@echo off
+reg add "HKLM\Google\Chrome\NativeMessagingHosts\singlefile_companion" /ve /t REG_SZ /d "%~dp0\singlefile_companion.json" /f

+ 3 - 0
companion/win/firefox/update-registry.bat

@@ -0,0 +1,3 @@
+@echo off
+reg add "HKCU\Software\Mozilla\NativeMessagingHosts\singlefile_companion" /ve /t REG_SZ /d "%~dp0\singlefile_companion.json" /f
+reg add "HKLM\Software\Mozilla\NativeMessagingHosts\singlefile_companion" /ve /t REG_SZ /d "%~dp0\singlefile_companion.json" /f