mirror of
https://github.com/yuzu-emu/citra-qt-installer.git
synced 2024-11-21 22:45:39 +01: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": {
|
||||
"version": "2.1.0",
|
||||
"resolved": "https://registry.npmjs.org/7zip-bin/-/7zip-bin-2.1.0.tgz",
|
||||
"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
|
||||
"integrity": "sha512-jgBTCcJ0gQedE9o8Jw+H/Gyq//EnQxmVpha7CdprIwzRSC81Uj37inHvPzv6jaZgZwkCcfho52rAaIFBrdbO7w=="
|
||||
},
|
||||
"acorn": {
|
||||
"version": "5.1.2",
|
||||
@ -1785,6 +1776,15 @@
|
||||
"resolved": "https://registry.npmjs.org/stealthy-require/-/stealthy-require-1.1.1.tgz",
|
||||
"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": {
|
||||
"version": "2.1.1",
|
||||
"resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz",
|
||||
@ -1795,15 +1795,6 @@
|
||||
"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": {
|
||||
"version": "0.0.5",
|
||||
"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() {
|
||||
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…
Reference in New Issue
Block a user