22 lines
511 B
Plaintext
22 lines
511 B
Plaintext
// 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();
|
|
}
|