Skip to content

Commit

Permalink
Compress zip to be accepted by Chrome store
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-p committed Sep 7, 2015
1 parent 61aa46c commit 209aab8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion LICENSE
@@ -1,6 +1,6 @@
The MIT License (MIT) 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: 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:


Expand Down
2 changes: 1 addition & 1 deletion utils/build.js
Expand Up @@ -82,7 +82,7 @@ function setUpZips() {
fs.unlinkSync(FIREFOX_EXTENSION); 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}); var firefoxZip = new archiver('zip', {store: true});


chromeZip.on('error', function(err) { chromeZip.on('error', function(err) {
Expand Down
4 changes: 2 additions & 2 deletions utils/package.json
Expand Up @@ -5,7 +5,7 @@
"dependencies": { "dependencies": {
"markdown-it": "~3.0.5", "markdown-it": "~3.0.5",
"metascript": "~1.0.0", "metascript": "~1.0.0",
"file": "~0.2.2", "file": "*",
"archiver": "~0.14.3" "archiver": "*"
} }
} }

0 comments on commit 209aab8

Please sign in to comment.