// Component: CMake.Dialogs.QtGUI | |
function Component() | |
{ | |
// Default constructor | |
} | |
Component.prototype.createOperations = function() | |
{ | |
// Create shortcut | |
if (installer.value("os") === "win") { | |
component.addOperation("CreateShortcut", | |
installer.value("TargetDir") + "/bin/cmake-gui.exe", | |
installer.value("StartMenuDir") + "/CMake (cmake-gui).lnk"); | |
} | |
// Call default implementation | |
component.createOperations(); | |
} |