blob: 219a0a90acd9c1c4a706f69154e2e31e086ac482 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// 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();
}
|