mirror of
https://github.com/yuzu-emu/citra-qt-installer.git
synced 2024-11-29 14:44:29 +01:00
18 lines
527 B
Plaintext
18 lines
527 B
Plaintext
|
function Component() {
|
||
|
if (systemInfo.kernelType === "winnt") {
|
||
|
component.setValue("Virtual", "false");
|
||
|
component.setValue("Default", "true");
|
||
|
} else {
|
||
|
component.setValue("Virtual", "true");
|
||
|
component.setValue("Enabled", "false");
|
||
|
}
|
||
|
}
|
||
|
|
||
|
Component.prototype.createOperations = function()
|
||
|
{
|
||
|
component.createOperations();
|
||
|
|
||
|
component.addOperation("CreateShortcut", "@TargetDir@/nightly/citra-qt.exe", "@StartMenuDir@/Citra.lnk",
|
||
|
"workingDirectory=@TargetDir@/nightly");
|
||
|
}
|