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.

23 lines
699 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@/mea.exe", "@StartMenuDir@/Mea.lnk",
"workingDirectory=@TargetDir@", "iconPath=@TargetDir@/logo.ico",
"description=mea - The nymea frontend");
}
}