Browse Source

fixed names

Gildas 5 năm trước cách đây
mục cha
commit
5b04f8adea

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

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

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

@@ -0,0 +1,2 @@
+@echo off
+node ../../singlefile_companion.js

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

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

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

@@ -1,2 +1,3 @@
 @echo off
-node ../../singlefile_companion.js
+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

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

@@ -0,0 +1,2 @@
+@echo off
+node ../../singlefile_companion.js

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

@@ -1,3 +0,0 @@
-@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