Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Still refining install script

  • Loading branch information...
commit efa65766bd392be6fb7106fdb8f5fb04c5c3a600 1 parent cf8a560
@brymck authored
Showing with 35 additions and 9 deletions.
  1. +1 −9 README.md
  2. +18 −0 install/windows.bat
  3. +16 −0 vim_ratings.pem
View
10 README.md
@@ -11,14 +11,6 @@ Chrome Web Store.
### Windows
git clone http://github.com/bryanmckelvey/vim_ratings
- cd vim_ratings
- "%AppData%\..\Local\Google\Chrome\Application\chrome.exe" ^
- --pack-extension="%cd%\src" ^
- --no-message-box
- copy /y src.crx vimratings.crx
- del src.crx
- "%AppData%\..\Local\Google\Chrome\Application\chrome.exe" ^
- "%cd%\vimratings.crx"
-
+ vim_ratings\windows_install
### Linux
View
18 install/windows.bat
@@ -0,0 +1,18 @@
+@echo off
+echo Packing extension into .crx ...
+cd vim_ratings
+"%AppData%\..\Local\Google\Chrome\Application\chrome.exe" --pack-extension="%cd%\src" --pack-extension-key="%cd%\vimratings.pem" --no-message-box
+
+:test
+if exist "src.crx" goto finish
+else goto wait
+
+:wait
+ping 127.0.0.1 -n 1
+goto test
+
+:finish
+copy /y src.crx vimratings.crx
+del src.crx
+"%AppData%\..\Local\Google\Chrome\Application\chrome.exe" "%cd%\vimratings.crx"
+echo Done!
View
16 vim_ratings.pem
@@ -0,0 +1,16 @@
+-----BEGIN PRIVATE KEY-----
+MIICdgIBADANBgkqhkiG9w0BAQEFAASCAmAwggJcAgEAAoGBAJRIL17DPviEpbgQe
+65kWgmTLkf2VZRtmfNcDoBMl7yMPBouZcYBq5DtRdA41rZH0oikcr2v5lL1bc/9F4
+/V7vhsz9h9VoyKArLc1SPLs+pvpVaTNDCZFY/00E6ZUnTdePz3WxswncGgtJtgeEK
+MXWsctERv3a9yBNbUIjPUXGCjAgMBAAECgYAadxvFTRHDJ2GwjXiVsqGDTfqXq3aw
+zDMLBWYtLf5zD5B2l8tgYNHvRvoL5OkllYIVE0zLYEa6jcVwttpquKMy/COVIh3uW
+xd2vny0pu2pJ3FP8tcDHAoktx3dQNBZLQpdFCIeVVzGqfb7wuoAt2+vv6ZPGBBZFf
+GI/PWkQFYr0QJBAMSgNGAih63i0oTt8WITHTolEL8sxAekSyx1o6bEjev3Bhqn64z
+SC4d0znhsZqqBXbCGuOby96jCku3IbExlR0kCQQDBDtmWiZrHNJsegh/iGnxWj38w
+ID5ucPe3bHP0gsjGqkD1AswGvWAdSLEt3iAXVwwlVPIEwoKYz8gDtTbdjUyLAkAkL
+sb0meYV3ZOX2qF8xr+uH3wBch9wuI8M02kWGz1ymraI2TXDaDOu7ZPBHVGXNs8i2O
+fVuAhTCds33pXvSQPhAkEArTiYzTSMdt7hq98Pon0nQTeh5FmaCtg7vA2IgURzx6V
+tgSlQTV/QBJZ7u28JlkeZc0mjmde4/Em66nDHWMT2fwJAXH6yCFCMH6jqGCDaA5vl
+1Ib6eMsBwx8KEEPe5NYb6HZ7tleuYtTHt51ym8IoG44XSy3KQVMd2aea5/CT5LJVI
+A==
+-----END PRIVATE KEY-----

0 comments on commit efa6576

Please sign in to comment.
Something went wrong with that request. Please try again.