mirror of
https://git.suyu.dev/suyu/citra-qt-installer.git
synced 2026-01-08 07:27:55 +01:00
Implement support for Mingw in repo
This commit is contained in:
parent
4e4ef6e9b7
commit
7573d66aa7
5 changed files with 48 additions and 23 deletions
17
scripts/mingw-canary.qs
Normal file
17
scripts/mingw-canary.qs
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
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-mingw/citra-qt.exe", "@StartMenuDir@/Citra Canary.lnk",
|
||||
"workingDirectory=@TargetDir@/canary-mingw");
|
||||
}
|
||||
17
scripts/mingw-nightly.qs
Normal file
17
scripts/mingw-nightly.qs
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
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");
|
||||
}
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
function Component() {
|
||||
if (systemInfo.kernelType === "winnt") {
|
||||
component.setValue("Virtual", "false");
|
||||
component.setValue("Virtual", "true"); // Hidden by default
|
||||
component.setValue("Default", "false"); // bleeding
|
||||
} else {
|
||||
component.setValue("Virtual", "true");
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
function Component() {
|
||||
if (systemInfo.kernelType === "winnt") {
|
||||
component.setValue("Virtual", "false");
|
||||
component.setValue("Default", "true");
|
||||
component.setValue("Virtual", "true");
|
||||
component.setValue("Default", "false"); // msvc
|
||||
} else {
|
||||
component.setValue("Virtual", "true");
|
||||
component.setValue("Enabled", "false");
|
||||
|
|
@ -12,6 +12,6 @@ Component.prototype.createOperations = function()
|
|||
{
|
||||
component.createOperations();
|
||||
|
||||
component.addOperation("CreateShortcut", "@TargetDir@/nightly/citra-qt.exe", "@StartMenuDir@/Citra.lnk",
|
||||
component.addOperation("CreateShortcut", "@TargetDir@/nightly/citra-qt.exe", "@StartMenuDir@/Citra Nightly.lnk",
|
||||
"workingDirectory=@TargetDir@/nightly");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue