aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2018-11-19 20:10:18 +0100
committerTeddy Wing2018-11-19 20:18:10 +0100
commit24c85246f4a6d554aa13d32c1fb1741035681476 (patch)
tree9bf7f732a6f9d7bab18eb17d394f5c4656eca603
parent027fe4276a79a453f27ed9048bb32cc928f3e29b (diff)
downloaddome-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.rs13
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(());