akvirtualcamera/ports/deploy/installscript.windows.qs
2020-06-05 19:09:17 -03:00

21 lines
519 B
Text

function Component()
{
}
Component.prototype.beginInstallation = function()
{
component.beginInstallation();
}
Component.prototype.createOperations = function()
{
component.createOperations();
// Create shortcuts.
var installDir = ["@TargetDir@", "@StartMenuDir@", "@DesktopDir@"];
for (var dir in installDir)
component.addOperation("CreateShortcut",
"@TargetDir@/bin/webcamoid.exe",
installDir[dir] + "/webcamoid.lnk");
}