diff --git a/qt-ifw/config/config.xml b/qt-ifw/config/config.xml index f0822e4..0e01ca1 100644 --- a/qt-ifw/config/config.xml +++ b/qt-ifw/config/config.xml @@ -4,9 +4,15 @@ @VERSION@ MSYS2 @BITNESS@bit The MSYS2 Developers + control.js MSYS2 @BITNESS@bit @TargetDir@/msys2_shell.cmd ../../msys2 ../../msys2 + false + Uninstall + false + false + false diff --git a/qt-ifw/config/control.js b/qt-ifw/config/control.js new file mode 100644 index 0000000..00f9c65 --- /dev/null +++ b/qt-ifw/config/control.js @@ -0,0 +1,15 @@ +function Controller() +{ +} + +Controller.prototype.IntroductionPageCallback = function() +{ + var widget = gui.currentPageWidget(); + radioNames = ["PackageManagerRadioButton", "UpdaterRadioButton"]; + for (name of radioNames) { + var el = gui.findChild(widget, name); + if (el != null) { + el.hide(); + } + } +}