diff options
| author | Andrew Z Allen | 2016-10-10 14:42:32 -0600 | 
|---|---|---|
| committer | Andrew Z Allen | 2016-10-10 14:50:51 -0600 | 
| commit | f9c3a805b3540b9fb889c3cf29aa996f191e1d55 (patch) | |
| tree | 9465f67b0a2a6e65b5ea5a4e42b866ba0f31f44b | |
| parent | 1eb6bfdcad6d7091911e395083afe1148b2a4c76 (diff) | |
| download | vimium-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.
| -rw-r--r-- | Cakefile | 6 | 
1 files changed, 5 insertions, 1 deletions
| @@ -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" | 
