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"); // Hidden by default
|
2017-08-20 04:58:36 +02:00
|
|
|
component.setValue("Default", "false"); // bleeding
|
|
|
|
} else {
|
|
|
|
component.setValue("Virtual", "true");
|
|
|
|
component.setValue("Enabled", "false");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
Component.prototype.createOperations = function()
|
|
|
|
{
|
|
|
|
component.createOperations();
|
|
|
|
|
2017-08-21 06:30:13 +02:00
|
|
|
component.addOperation("CreateShortcut", "@TargetDir@/canary/citra-qt.exe", "@StartMenuDir@/Citra Canary.lnk",
|
|
|
|
"workingDirectory=@TargetDir@/canary");
|
2017-08-20 04:58:36 +02:00
|
|
|
}
|