LP#1708757 Bump version numbers, Add docs
authorBill Erickson <berickxx@gmail.com>
Fri, 10 Nov 2017 22:52:59 +0000 (17:52 -0500)
committerBill Erickson <berickxx@gmail.com>
Fri, 15 Dec 2017 15:57:16 +0000 (10:57 -0500)
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
INSTALL.adoc
README.chromestore.adoc [new file with mode: 0644]
extension/app/hatch_icon_440x280.png [deleted file]
extension/app/hatch_screenshot_640x400.png [deleted file]
extension/app/manifest.json
extension/media/hatch_icon_440x280.png [new file with mode: 0644]
extension/media/hatch_screenshot_640x400.png [new file with mode: 0644]
installer/windows/defines.nsh

index 8730963..cbf992d 100644 (file)
@@ -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 (file)
index 0000000..2baa9a6
--- /dev/null
@@ -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 (file)
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 (file)
index 441399c..0000000
Binary files a/extension/app/hatch_screenshot_640x400.png and /dev/null differ
index de27477..947996e 100644 (file)
@@ -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 (file)
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 (file)
index 0000000..441399c
Binary files /dev/null and b/extension/media/hatch_screenshot_640x400.png differ
index 925f02d..b53b728 100644 (file)
@@ -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