From: Bill Erickson Date: Fri, 10 Nov 2017 22:52:59 +0000 (-0500) Subject: LP#1708757 Bump version numbers, Add docs X-Git-Tag: v0.3.2~28 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=9ded038d25be8f0c2a00d5f68fc016141cf11570;p=Hatch.git LP#1708757 Bump version numbers, Add docs Signed-off-by: Bill Erickson Signed-off-by: Chris Sharp --- diff --git a/INSTALL.adoc b/INSTALL.adoc index 8730963..cbf992d 100644 --- a/INSTALL.adoc +++ b/INSTALL.adoc @@ -51,21 +51,20 @@ $ ./hatch.sh test == Install Chrome Extension [Windows & Linux] == -. Open Chrome/Chromium and navigate to chrome://extensions -. Enable "Developer Mode" along the top right of the page. -. Click the "Load Unpacked Extension..." button. -. Load the directory at Hatch => extension => app -.. In Windows, the default location for the app directory will be - C:\Program Files (x86)\Hatch\extension\app +. Install the exenstion directly in the browser from the +https://chrome.google.com/webstore/detail/hatch-native-messenger/ppooibdipmklfichpmkcgplfgdplgahl[Chrome App Store] === Optional: Debugging The Chrome Extension === + * Navigate to chrome://extensions + * Enable "Developer Mode" along the top right of the page. * Click the "Background Page" link to see the exension console. * When the extension is loaded (or reloaded), it should show "Connecting to native messaging host: org.evergreen_ils.hatch" in the Background Page console with no errors. * Use the "Reload" link to apply local changes made to the - extension (e.g. main.js). + extension (e.g. main.js). (This might only work when installing + the exention manually via developer mode tools). * See also https://developer.chrome.com/extensions/getstarted === Linux: Configure Native Messaging === @@ -94,10 +93,6 @@ $ cp extension/host/org.evergreen_ils.hatch.json ~/.config/chromium/NativeMessag == Using Hatch == -NOTE: At time of writing, the Evergreen server used must have the -patches included in the -http://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/berick/lp1646166-hatch-2.12-omnibus[Hatch 2.12 Omnibus Branch]. - * In Chrome, navigate to the browser staff URL (https://HOSTNAME/eg/staff/). * Open the Javascript console. It should show messages like: diff --git a/README.chromestore.adoc b/README.chromestore.adoc new file mode 100644 index 0000000..2baa9a6 --- /dev/null +++ b/README.chromestore.adoc @@ -0,0 +1,26 @@ +== Updating the Exstension On The Chrome Store == + +=== Bump Version Numbers === + +1. Modify the "version" string in extension/app/manifest.json + +2. Modify the VERSION* values in installer/windows/defines.nsh + +=== Create the app bundle === + +[souce,sh] +------------------------------------------------------------------- +cd extension/app/ +zip hatch-extension.zip * +------------------------------------------------------------------- + +=== Upload The Extension Files === + +1. Log in with user chromestore@evergreen-ils.org to the +https://chrome.google.com/webstore/developer/dashboard[Chrome developer dashboard] + +2. Choose the "Edit" option next to "Hatch Native Messenger". + +3. Click the "Upload Updated Package" button and select your new + hatch-extension.zip file. + diff --git a/extension/app/hatch_icon_440x280.png b/extension/app/hatch_icon_440x280.png deleted file mode 100644 index b66f466..0000000 Binary files a/extension/app/hatch_icon_440x280.png and /dev/null differ diff --git a/extension/app/hatch_screenshot_640x400.png b/extension/app/hatch_screenshot_640x400.png deleted file mode 100644 index 441399c..0000000 Binary files a/extension/app/hatch_screenshot_640x400.png and /dev/null differ diff --git a/extension/app/manifest.json b/extension/app/manifest.json index de27477..947996e 100644 --- a/extension/app/manifest.json +++ b/extension/app/manifest.json @@ -1,6 +1,6 @@ { "name": "Hatch Native Messenger", - "version": "0.0.1", + "version": "0.1.2", "manifest_version": 2, "description": "Relays messages to/from Hatch.", "icons": { diff --git a/extension/media/hatch_icon_440x280.png b/extension/media/hatch_icon_440x280.png new file mode 100644 index 0000000..b66f466 Binary files /dev/null and b/extension/media/hatch_icon_440x280.png differ diff --git a/extension/media/hatch_screenshot_640x400.png b/extension/media/hatch_screenshot_640x400.png new file mode 100644 index 0000000..441399c Binary files /dev/null and b/extension/media/hatch_screenshot_640x400.png differ diff --git a/installer/windows/defines.nsh b/installer/windows/defines.nsh index 925f02d..b53b728 100644 --- a/installer/windows/defines.nsh +++ b/installer/windows/defines.nsh @@ -13,8 +13,8 @@ ; Version info ; Version numbers should be integers !define VERSIONMAJOR 0 -!define VERSIONMINOR 0 -!define VERSIONBUILD 1 +!define VERSIONMINOR 1 +!define VERSIONBUILD 2 !define FULLVERSION "${VERSIONMAJOR}.${VERSIONMINOR}.${VERSIONBUILD}" ;--------------------------- ; Add Remove info