From 24c85246f4a6d554aa13d32c1fb1741035681476 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Mon, 19 Nov 2018 20:10:18 +0100 Subject: license-generator: Add instructions to fulfillment email Include install and license instructions in the purchase fulfillment email. --- license-generator/src/bin/license-generator.rs | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/license-generator/src/bin/license-generator.rs b/license-generator/src/bin/license-generator.rs index e19ac85..3884621 100644 --- a/license-generator/src/bin/license-generator.rs +++ b/license-generator/src/bin/license-generator.rs @@ -80,8 +80,6 @@ fn main() -> Result<()> { match purchaser.insert(&mut cx) { Ok(_) => { - // TODO: Print message to be appended to user email - let secret = match purchaser.secret { Some(s) => s, None => return response::error_500( @@ -112,7 +110,16 @@ fn main() -> Result<()> { Thanks so much for purchasing DomeKey! Download your license here: -{url}", +{url} + +DomeKey can be installed with: + + $ brew install teddywing/DomeKey/dome-key + +Add your license by running: + + $ dome-key --license PATH/TO/dome-key-license.plist +", url = license_download_url, ) .unwrap_or(()); -- cgit v1.2.3