mirror of
https://github.com/yuzu-emu/citra-qt-installer.git
synced 2024-12-22 23:05:27 +00:00
Implement support for Mingw in repo
This commit is contained in:
parent
4e4ef6e9b7
commit
7573d66aa7
29
package-lock.json
generated
29
package-lock.json
generated
|
@ -7,16 +7,7 @@
|
||||||
"7zip-bin": {
|
"7zip-bin": {
|
||||||
"version": "2.1.0",
|
"version": "2.1.0",
|
||||||
"resolved": "https://registry.npmjs.org/7zip-bin/-/7zip-bin-2.1.0.tgz",
|
"resolved": "https://registry.npmjs.org/7zip-bin/-/7zip-bin-2.1.0.tgz",
|
||||||
"integrity": "sha512-jgBTCcJ0gQedE9o8Jw+H/Gyq//EnQxmVpha7CdprIwzRSC81Uj37inHvPzv6jaZgZwkCcfho52rAaIFBrdbO7w==",
|
"integrity": "sha512-jgBTCcJ0gQedE9o8Jw+H/Gyq//EnQxmVpha7CdprIwzRSC81Uj37inHvPzv6jaZgZwkCcfho52rAaIFBrdbO7w=="
|
||||||
"requires": {
|
|
||||||
"7zip-bin-linux": "1.1.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"7zip-bin-linux": {
|
|
||||||
"version": "1.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/7zip-bin-linux/-/7zip-bin-linux-1.1.0.tgz",
|
|
||||||
"integrity": "sha512-BfW7XsUWNV/j723el3gGbiNWdmvLrnTB9VD0BondfCinxCwz4RQ60W4c3UxRpfHn1Q4Cn1o/DxYFmLMgHTEKqg==",
|
|
||||||
"optional": true
|
|
||||||
},
|
},
|
||||||
"acorn": {
|
"acorn": {
|
||||||
"version": "5.1.2",
|
"version": "5.1.2",
|
||||||
|
@ -1785,6 +1776,15 @@
|
||||||
"resolved": "https://registry.npmjs.org/stealthy-require/-/stealthy-require-1.1.1.tgz",
|
"resolved": "https://registry.npmjs.org/stealthy-require/-/stealthy-require-1.1.1.tgz",
|
||||||
"integrity": "sha1-NbCYdbT/SfJqd35QmzCQoyJr8ks="
|
"integrity": "sha1-NbCYdbT/SfJqd35QmzCQoyJr8ks="
|
||||||
},
|
},
|
||||||
|
"string_decoder": {
|
||||||
|
"version": "1.0.3",
|
||||||
|
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.0.3.tgz",
|
||||||
|
"integrity": "sha512-4AH6Z5fzNNBcH+6XDMfA/BTt87skxqJlO0lAh3Dker5zThcAxG6mKz+iGu308UKoPPQ8Dcqx/4JhujzltRa+hQ==",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"safe-buffer": "5.1.1"
|
||||||
|
}
|
||||||
|
},
|
||||||
"string-width": {
|
"string-width": {
|
||||||
"version": "2.1.1",
|
"version": "2.1.1",
|
||||||
"resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz",
|
"resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz",
|
||||||
|
@ -1795,15 +1795,6 @@
|
||||||
"strip-ansi": "4.0.0"
|
"strip-ansi": "4.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"string_decoder": {
|
|
||||||
"version": "1.0.3",
|
|
||||||
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.0.3.tgz",
|
|
||||||
"integrity": "sha512-4AH6Z5fzNNBcH+6XDMfA/BTt87skxqJlO0lAh3Dker5zThcAxG6mKz+iGu308UKoPPQ8Dcqx/4JhujzltRa+hQ==",
|
|
||||||
"dev": true,
|
|
||||||
"requires": {
|
|
||||||
"safe-buffer": "5.1.1"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"stringstream": {
|
"stringstream": {
|
||||||
"version": "0.0.5",
|
"version": "0.0.5",
|
||||||
"resolved": "https://registry.npmjs.org/stringstream/-/stringstream-0.0.5.tgz",
|
"resolved": "https://registry.npmjs.org/stringstream/-/stringstream-0.0.5.tgz",
|
||||||
|
|
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() {
|
function Component() {
|
||||||
if (systemInfo.kernelType === "winnt") {
|
if (systemInfo.kernelType === "winnt") {
|
||||||
component.setValue("Virtual", "false");
|
component.setValue("Virtual", "true"); // Hidden by default
|
||||||
component.setValue("Default", "false"); // bleeding
|
component.setValue("Default", "false"); // bleeding
|
||||||
} else {
|
} else {
|
||||||
component.setValue("Virtual", "true");
|
component.setValue("Virtual", "true");
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
function Component() {
|
function Component() {
|
||||||
if (systemInfo.kernelType === "winnt") {
|
if (systemInfo.kernelType === "winnt") {
|
||||||
component.setValue("Virtual", "false");
|
component.setValue("Virtual", "true");
|
||||||
component.setValue("Default", "true");
|
component.setValue("Default", "false"); // msvc
|
||||||
} else {
|
} else {
|
||||||
component.setValue("Virtual", "true");
|
component.setValue("Virtual", "true");
|
||||||
component.setValue("Enabled", "false");
|
component.setValue("Enabled", "false");
|
||||||
|
@ -12,6 +12,6 @@ Component.prototype.createOperations = function()
|
||||||
{
|
{
|
||||||
component.createOperations();
|
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");
|
"workingDirectory=@TargetDir@/nightly");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue