diff options
author | Teddy Wing | 2018-11-19 20:10:18 +0100 |
---|---|---|
committer | Teddy Wing | 2018-11-19 20:18:10 +0100 |
commit | 24c85246f4a6d554aa13d32c1fb1741035681476 (patch) | |
tree | 9bf7f732a6f9d7bab18eb17d394f5c4656eca603 | |
parent | 027fe4276a79a453f27ed9048bb32cc928f3e29b (diff) | |
download | dome-key-web-24c85246f4a6d554aa13d32c1fb1741035681476.tar.bz2 |
license-generator: Add instructions to fulfillment email
Include install and license instructions in the purchase fulfillment
email.
-rw-r--r-- | license-generator/src/bin/license-generator.rs | 13 |
1 files 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(()); |