aboutsummaryrefslogtreecommitdiffstats
path: root/Cakefile
diff options
context:
space:
mode:
authorAndrew Z Allen2016-10-10 14:42:32 -0600
committerAndrew Z Allen2016-10-10 14:50:51 -0600
commitf9c3a805b3540b9fb889c3cf29aa996f191e1d55 (patch)
tree9465f67b0a2a6e65b5ea5a4e42b866ba0f31f44b /Cakefile
parent1eb6bfdcad6d7091911e395083afe1148b2a4c76 (diff)
downloadvimium-f9c3a805b3540b9fb889c3cf29aa996f191e1d55.tar.bz2
Don't set the update_url by default.
Setting the update_url by default can lead to accidentally updating to the version you host on github. Setting this to a safe default of "" and leaving a comment explaining why.
Diffstat (limited to 'Cakefile')
-rw-r--r--Cakefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Cakefile b/Cakefile
index 88e92546..4d2d0237 100644
--- a/Cakefile
+++ b/Cakefile
@@ -86,7 +86,11 @@ task "package-custom-crx", "build .crx file", ->
# ugly hack to modify our manifest file on-the-fly
origManifestText = fs.readFileSync "manifest.json"
manifest = JSON.parse origManifestText
- manifest.update_url = "http://philc.github.com/vimium/updates.xml"
+ # Update manifest fields that you would like to override here. If
+ # distributing your CRX outside the Chrome webstore in a fork, please follow
+ # the instructions available at
+ # https://developer.chrome.com/extensions/autoupdate.
+ # manifest.update_url = "http://philc.github.com/vimium/updates.xml"
fs.writeFileSync "manifest.json", JSON.stringify manifest
pem = process.env.VIMIUM_CRX_PEM ? "vimium.pem"