citra-qt-installer/scripts/msvc-canary.qs
2017-10-17 07:46:34 +11:00

18 lines
565 B
Plaintext

function Component() {
if (systemInfo.kernelType === "winnt") {
component.setValue("Virtual", "true"); // Hidden by default
component.setValue("Default", "false"); // bleeding
} else {
component.setValue("Virtual", "true");
component.setValue("Enabled", "false");
}
}
Component.prototype.createOperations = function()
{
component.createOperations();
component.addOperation("CreateShortcut", "@TargetDir@/canary/citra-qt.exe", "@StartMenuDir@/Citra Canary.lnk",
"workingDirectory=@TargetDir@/canary");
}