forked from M-Labs/artiq-extrapkg
21 lines
590 B
JavaScript
21 lines
590 B
JavaScript
function Controller()
|
|
{
|
|
installer.setDefaultPageVisible(QInstaller.LicenseCheck, false);
|
|
if (installer.isInstaller()) {
|
|
installer.setDefaultPageVisible(QInstaller.ComponentSelection, false);
|
|
installer.setDefaultPageVisible(QInstaller.ReadyForInstallation, false);
|
|
}
|
|
}
|
|
|
|
Controller.prototype.IntroductionPageCallback = function()
|
|
{
|
|
const widget = gui.currentPageWidget();
|
|
const radioNames = ["PackageManagerRadioButton", "UpdaterRadioButton"];
|
|
for (const name of radioNames) {
|
|
const el = gui.findChild(widget, name);
|
|
if (el != null) {
|
|
el.hide();
|
|
}
|
|
}
|
|
}
|