Commit c956bbec authored by Ingemar Ceicer's avatar Ingemar Ceicer

Cleaned up

parent 893a2df1
function Component()
{
gui.pageWidgetByObjectName("LicenseAgreementPage").entered.connect(changeLicenseLabels);
}
Component.prototype.createOperations = function()
{
component.createOperations();
if (systemInfo.productType === "windows") {
component.addOperation("CreateShortcut", "@[email protected]/hashsum-2.5.1.exe", "@[email protected]/hashsum-2.5.1.lnk",
"workingD[email protected]@", "[email protected]@/hashsum.ico");
component.addOperation("CreateShortcut", "@[email protected]/hashsum-2.5.1.exe", "@[email protected]/hashsum-2.5.1.lnk",
"[email protected]@", "[email protected]@/hashsum.ico");
}
}
changeLicenseLabels = function()
{
page = gui.pageWidgetByObjectName("LicenseAgreementPage");
page.AcceptLicenseLabel.setText("Yes I do!");
page.RejectLicenseLabel.setText("No I don't!");
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment