2017-08-20 04:58:36 +02:00
|
|
|
function Component() {
|
|
|
|
if (systemInfo.kernelType === "winnt") {
|
2017-09-07 15:35:28 +02:00
|
|
|
component.setValue("Virtual", "true");
|
|
|
|
component.setValue("Default", "false"); // msvc
|
2017-08-20 04:58:36 +02:00
|
|
|
} else {
|
|
|
|
component.setValue("Virtual", "true");
|
|
|
|
component.setValue("Enabled", "false");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
Component.prototype.createOperations = function()
|
|
|
|
{
|
|
|
|
component.createOperations();
|
|
|
|
|
2017-09-07 15:35:28 +02:00
|
|
|
component.addOperation("CreateShortcut", "@TargetDir@/nightly/citra-qt.exe", "@StartMenuDir@/Citra Nightly.lnk",
|
2017-08-20 04:58:36 +02:00
|
|
|
"workingDirectory=@TargetDir@/nightly");
|
|
|
|
}
|