1.0.2 • Published 3 years ago
tiny-directory v1.0.2
tiny-directory
Tiny directory is a small AD clone. It can run commands, install apps, and submit the command the command output
Usage
It's simple. Use this as a guide (this example works on Windows):
var td = require("tiny-directory");
td.deploy(
[
{
url: "https://ninite.com/avast-chrome-libreoffice-thunderbird/ninite.exe", // Optional
exec: "start app.exe", // Mandatory
submitExec: "http://httpbin.org/get" // Optional
}
]
)
Note that the downloaded URL is always called app.exe
, even on Unix.
Also, you can more apps by appending to the array.