From 8732029eb12fc0fedee9ae8906ef118d41503f75 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Sat, 17 Aug 2019 21:59:00 -0600 Subject: [PATCH] v2.7.14: announce deadline --- package.json | 2 +- scripts/postinstall | 87 +++++++++++++++++++++++++++++++++++---------- 2 files changed, 70 insertions(+), 19 deletions(-) diff --git a/package.json b/package.json index 5572441..3818e43 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "greenlock-express", - "version": "2.7.13", + "version": "2.7.14", "description": "Free SSL and managed or automatic HTTPS for node.js with Express, Koa, Connect, Hapi, and all other middleware systems.", "main": "index.js", "homepage": "https://greenlock.domains", diff --git a/scripts/postinstall b/scripts/postinstall index 031f5c0..2ddc503 100755 --- a/scripts/postinstall +++ b/scripts/postinstall @@ -1,5 +1,5 @@ #!/usr/bin/env node -'use strict'; +"use strict"; // BG WH \u001b[47m // BOLD \u001b[1m @@ -7,20 +7,71 @@ // GREEN \u001b[32m // RESET \u001b[0m -[ '', - '\u001b[31m===============================\u001b[0m', - '\u001b[31m==\u001b[0m Do you rely on Greenlock? \u001b[31m==\u001b[0m', - '\u001b[31m===============================\u001b[0m', - '', - "Hey! Let's Encrypt will \u001b[31mSTOP WORKING\u001b[0m with Greenlock v2 at the end of October,", - "and \u001b[31mWITHOUT YOUR HELP\u001b[0m we won't get the next release out in time.", - '', - "If Greenlock has saved you time and money, and taken stress out of your life,", - "or you just love it, please reach out to return the favor today:", - '', - '\u001b[31mSAVE GREENLOCK:\u001b[0m', - 'https://indiegogo.com/at/greenlock', - '' -].forEach(function (line) { - console.info(line); -}); +var grabbers = [ + [ + "", + "================================================================================", + "", + " 🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥", + "🔥 🔥", + "🔥 Do you rely on Greenlock? 🔥", + "🔥 🔥", + " 🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥" + ], + + [ + "", + "================================================================================", + "", + " 🍒🍒🍒🍒🍒🍒🍒🍒🍒🍒🍒🍒🍒🍒🍒🍒", + "🍒 🍒", + "🍒 Do you rely on Greenlock? 🍒", + "🍒 🍒", + " 🍒🍒🍒🍒🍒🍒🍒🍒🍒🍒🍒🍒🍒🍒🍒🍒" + ], + + [ + "", + "================================================================================", + "", + " 👇👇👇👇👇👇👇👇👇👇👇👇👇👇👇", + "👉 👈", + "👉 Do you rely on Greenlock? 👈", + "👉 👈", + " 👆👆👆👆👆👆👆👆👆👆👆👆👆👆👆 " + ], + + [ + "", + "================================================================================", + "", + " 👀 👀 👀 👀 👀 👀 👀 👀 👀 👀 👀 ", + "👀 👀", + "👀 Do you rely on Greenlock? 👀", + "👀 👀", + " 👀 👀 👀 👀 👀 👀 👀 👀 👀 👀 👀 ", + ] +]; + +setTimeout(function() { + grabbers[Math.floor(Math.random() * grabbers.length)].concat([ + "", + "Hey! Let's Encrypt will \u001b[31mSTOP WORKING\u001b[0m with Greenlock v2 at the end of October,", + "and \u001b[31mWITHOUT YOUR HELP\u001b[0m we won't get the next release out in time.", + "", + "If Greenlock has saved you time and money, and taken stress out of your life,", + "or you just love it, please reach out to return the favor today:", + "", + "\u001b[31mSAVE GREENLOCK:\u001b[0m", + "https://indiegogo.com/at/greenlock", + "", + "================================================================================", + "" + ]).forEach(function(line) { + console.info(line); + }); +}, 300); + +setTimeout(function() { + // give time to read +}, 1500);