Skip to content

Commit 209aab8

Browse files
committed
Compress zip to be accepted by Chrome store
1 parent 61aa46c commit 209aab8

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright © 2014 Adam Pritchard
3+
Copyright © 2015 Adam Pritchard
44

55
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:
66

utils/build.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ function setUpZips() {
8282
fs.unlinkSync(FIREFOX_EXTENSION);
8383
}
8484

85-
var chromeZip = new archiver('zip', {store: true});
85+
var chromeZip = new archiver('zip'); // Chrome will reject the zip if there's no compression
8686
var firefoxZip = new archiver('zip', {store: true});
8787

8888
chromeZip.on('error', function(err) {

utils/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"dependencies": {
66
"markdown-it": "~3.0.5",
77
"metascript": "~1.0.0",
8-
"file": "~0.2.2",
9-
"archiver": "~0.14.3"
8+
"file": "*",
9+
"archiver": "*"
1010
}
1111
}

0 commit comments

Comments
 (0)