citra-qt-installer/scripts/msvc-nightly.qs

19 lines
612 B
Plaintext
Raw Normal View History

2017-08-20 02:58:36 +00:00
function Component() {
if (systemInfo.kernelType === "winnt") {
2017-10-19 04:13:22 +00:00
component.setValue("Virtual", "true"); // Hidden by default
2017-09-07 13:35:28 +00:00
component.setValue("Default", "false"); // msvc
2017-10-19 04:13:22 +00:00
component.setValue("Enabled", "false");
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");
}