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