Просмотр исходного кода

add keys in HKEY_CURRENT_USER only

Gildas 5 лет назад
Родитель
Сommit
42cc098d1e
2 измененных файлов с 2 добавлено и 3 удалено
  1. 1 1
      companion/win/chrome/install.bat
  2. 1 2
      companion/win/firefox/install.bat

+ 1 - 1
companion/win/chrome/install.bat

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

+ 1 - 2
companion/win/firefox/install.bat

@@ -1,3 +1,2 @@
 @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
+reg add "HKEY_CURRENT_USER\Software\Mozilla\NativeMessagingHosts\singlefile_companion" /ve /t REG_SZ /d "%~dp0\singlefile_companion.json" /f