diff --git a/dist/hook.d.ts b/dist/cert.hook.d.ts similarity index 100% rename from dist/hook.d.ts rename to dist/cert.hook.d.ts diff --git a/dist/cert.hook.js b/dist/cert.hook.js new file mode 100644 index 0000000..7614985 --- /dev/null +++ b/dist/cert.hook.js @@ -0,0 +1,3 @@ +"use strict"; + +//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJjZXJ0Lmhvb2suanMiLCJzb3VyY2VzQ29udGVudCI6W119 diff --git a/dist/cert.paths.d.ts b/dist/cert.paths.d.ts new file mode 100644 index 0000000..e69de29 diff --git a/dist/hook.js b/dist/cert.paths.js similarity index 67% rename from dist/hook.js rename to dist/cert.paths.js index 0b3fc71..b129c62 100644 --- a/dist/hook.js +++ b/dist/cert.paths.js @@ -1,3 +1,3 @@ -//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJob29rLmpzIiwic291cmNlc0NvbnRlbnQiOltdfQ== +//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJjZXJ0LnBhdGhzLmpzIiwic291cmNlc0NvbnRlbnQiOltdfQ== diff --git a/dist/install.js b/dist/install.js index 6788ca6..b250c7b 100644 --- a/dist/install.js +++ b/dist/install.js @@ -1,3 +1,10 @@ +"use strict"; +var beautylog = require("beautylog"); +var path = require("path"); +var smartfile = require("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(function () { + beautylog.success("Done!"); +}); - -//# sourceMappingURL=data:application/json;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