Permalink
Browse files

Compress zip to be accepted by Chrome store

  • Loading branch information...
1 parent 61aa46c commit 209aab8b6e03142b94d62b2e39a14d626fd54368 @adam-p committed Sep 7, 2015
Showing with 4 additions and 4 deletions.
  1. +1 −1 LICENSE
  2. +1 −1 utils/build.js
  3. +2 −2 utils/package.json
View
@@ -1,6 +1,6 @@
The MIT License (MIT)
-Copyright © 2014 Adam Pritchard
+Copyright © 2015 Adam Pritchard
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
View
@@ -82,7 +82,7 @@ function setUpZips() {
fs.unlinkSync(FIREFOX_EXTENSION);
}
- var chromeZip = new archiver('zip', {store: true});
+ var chromeZip = new archiver('zip'); // Chrome will reject the zip if there's no compression
var firefoxZip = new archiver('zip', {store: true});
chromeZip.on('error', function(err) {
View
@@ -5,7 +5,7 @@
"dependencies": {
"markdown-it": "~3.0.5",
"metascript": "~1.0.0",
- "file": "~0.2.2",
- "archiver": "~0.14.3"
+ "file": "*",
+ "archiver": "*"
}
}

0 comments on commit 209aab8

Please sign in to comment.