This repository has been archived on 2026-05-31. You can view files and clone it, but cannot push or open issues or pull requests.

25 lines
821 B
Plaintext

function Component()
{
gui.pageWidgetByObjectName("LicenseAgreementPage").entered.connect(changeLicenseLabels);
}
changeLicenseLabels = function()
{
page = gui.pageWidgetByObjectName("LicenseAgreementPage");
page.AcceptLicenseLabel.setText("Yes, I agree");
page.RejectLicenseLabel.setText("No, I disagree");
}
Component.prototype.createOperations = function()
{
component.createOperations();
if (systemInfo.productType === "windows") {
component.addOperation("CreateShortcut", "@TargetDir@/maveo.exe", "@StartMenuDir@/Maveo Pro Box Dashboard.lnk",
"workingDirectory=@TargetDir@", "iconPath=@TargetDir@/logo.ico",
"description=Maveo Pro Box Dashboard");
component.addOperation("Execute", "@TargetDir@/vc_redist.x64.exe", "/quiet", "/norestart");
}
}