From f9c3a805b3540b9fb889c3cf29aa996f191e1d55 Mon Sep 17 00:00:00 2001 From: Andrew Z Allen Date: Mon, 10 Oct 2016 14:42:32 -0600 Subject: 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. --- Cakefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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" -- cgit v1.2.3