citra-qt-installer/repository/scripts/msvc-canary.qs

18 lines
545 B
Plaintext

function Component() {
if (systemInfo.kernelType === "winnt") {
component.setValue("Virtual", "false");
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");
}