This repository has been archived on 2025-08-08. You can view files and clone it, but cannot push or open issues or pull requests.
Files
smartcert/ts/install.ts
2016-06-18 15:42:09 +02:00

10 lines
370 B
TypeScript

import * as beautylog from "beautylog";
import * as path from "path";
import * as smartfile from "smartfile";
beautylog.info("installing letsencrypt.sh locally...");
smartfile.remote.toFs(
"https://raw.githubusercontent.com/lukas2511/letsencrypt.sh/master/letsencrypt.sh",
path.join(__dirname,"assets/","le.sh")
).then(() => {
beautylog.success("Done!");
});