mirror of
https://github.com/yuzu-emu/citra-qt-installer.git
synced 2024-11-22 04:15:41 +01:00
18 lines
547 B
Plaintext
18 lines
547 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-mingw/citra-qt.exe", "@StartMenuDir@/Citra Nightly.lnk",
|
||
|
"workingDirectory=@TargetDir@/nightly-mingw");
|
||
|
}
|