Added JSON install files and script for Windows

This commit is contained in:
varjolintu 2017-06-25 15:52:32 +03:00
parent cc7539e195
commit 78de88f31d
4 changed files with 58 additions and 1 deletions

View file

@ -1,4 +1,8 @@
0.1.10 (2017-06.14)
0.2.0 (2017-xx-xx)
=========================
- Added JSON install files and script for Windows
0.1.10 (2017-06-14)
=========================
- Updated manifest and json files up to date

View file

@ -0,0 +1,10 @@
{
"name": "com.varjolintu.keepassxc_browser",
"description": "KeepassXC integration with Chrome with Native Messaging support",
"path" : "keepassxc-proxy.bat",
"type": "stdio",
"allowed_origins": [
"chrome-extension://iopaggbpplllidnfmcghoonnokmjoicf/",
"chrome-extension://fhakpkpdnjecjfceboihdjpfmgajebii/"
]
}

View file

@ -0,0 +1,9 @@
{
"name": "com.varjolintu.keepassxc_browser",
"description": "KeepassXC integration with Firefox with Native Messaging support",
"path" : "keepassxc-proxy.bat",
"type": "stdio",
"allowed_extensions": [
"keepassxc-browser@sami.vanttinen"
]
}

34
install.bat Normal file
View file

@ -0,0 +1,34 @@
:: Copyright 2014 The Chromium Authors. All rights reserved.
:: Copyright 2017 Sami Vänttinen <sami.vanttinen@protonmail.com>
:: Use of this source code is governed by a BSD-style license that can be
:: found in the LICENSE file.
:: Change HKCU to HKLM if you want to install globally.
:: %~dp0 is the directory containing this bat script and ends with a backslash.
@echo off
echo.
echo Select your browser:
echo ====================
echo 1) Chrome
echo 2) Chromium
echo 3) Firefox
echo 4) Vivaldi
set choice=
set /p choice=1-4:
if '%choice%'=='1' goto chrome
if '%choice%'=='2' goto chromium
if '%choice%'=='3' goto firefox
if '%choice%'=='3' goto vivaldi
goto end
:chrome
REG ADD "HKCU\Software\Google\Chrome\NativeMessagingHosts\com.varjolintu.keepassxc_browser" /ve /t REG_SZ /d "%~dp0com.varjolintu.keepassxc-browser-chrome.win.json" /f
goto end
:chromium
REG ADD "HKCU\Software\Chromium\NativeMessagingHosts\com.varjolintu.keepassxc_browser" /ve /t REG_SZ /d "%~dp0com.varjolintu.keepassxc-browser-chrome.win.json" /f
goto end
:firefox
REG ADD "HKCU\Software\Mozilla\NativeMessagingHosts\com.varjolintu.keepassxc_browser" /ve /t REG_SZ /d "%~dp0com.varjolintu.keepassxc-browser-firefox.win.json" /f
goto end
:vivaldi
REG ADD "HKCU\Software\Vivaldi\NativeMessagingHosts\com.varjolintu.keepassxc_browser" /ve /t REG_SZ /d "%~dp0com.varjolintu.keepassxc-browser-chrome.win.json" /f
goto end
:end