mirror of
https://git.suyu.dev/suyu/citra-qt-installer.git
synced 2026-01-08 07:27:55 +01:00
Created subfolder for installer
This commit is contained in:
parent
c7edbf4dac
commit
9d4b125f5a
8 changed files with 0 additions and 0 deletions
27
setup/config/config.xml
Normal file
27
setup/config/config.xml
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Installer>
|
||||
<Name>Citra</Name>
|
||||
<Version>1.0.0</Version>
|
||||
<Title>Citra Updater</Title>
|
||||
<Publisher>Citra team</Publisher>
|
||||
<StartMenuDir>Citra</StartMenuDir>
|
||||
<TargetDir>@HomeDir@/Citra</TargetDir>
|
||||
<RunProgram>@TargetDir@/nightly/citra-qt.exe</RunProgram>
|
||||
<InstallerApplicationIcon>icon</InstallerApplicationIcon>
|
||||
<InstallerWindowIcon>icon.png</InstallerWindowIcon>
|
||||
<RunProgramDescription>Start Citra</RunProgramDescription>
|
||||
<!-- TODO: Move to packages
|
||||
<ControlScript>installscript.qs</ControlScript>-->
|
||||
<RemoteRepositories>
|
||||
<Repository>
|
||||
<Url>https://citra-emu.org/repository</Url>
|
||||
<Enabled>1</Enabled>
|
||||
<DisplayName>Official Citra Repository</DisplayName>
|
||||
</Repository>
|
||||
<!--<Repository>
|
||||
<Url>https://citra.jselby.net/repository</Url>
|
||||
<Enabled>1</Enabled>
|
||||
<DisplayName>Selby's Testing Repo</DisplayName>
|
||||
</Repository>-->
|
||||
</RemoteRepositories>
|
||||
</Installer>
|
||||
BIN
setup/config/icon.icns
Normal file
BIN
setup/config/icon.icns
Normal file
Binary file not shown.
BIN
setup/config/icon.ico
Normal file
BIN
setup/config/icon.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 39 KiB |
BIN
setup/config/icon.png
Normal file
BIN
setup/config/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 18 KiB |
35
setup/config/installscript.qs
Normal file
35
setup/config/installscript.qs
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
function Controller()
|
||||
{
|
||||
}
|
||||
|
||||
Controller.prototype.ComponentSelectionPageCallback = function()
|
||||
{
|
||||
/*console.log("Kernel type: " + systemInfo.kernelType);
|
||||
|
||||
var platform;
|
||||
|
||||
if (systemInfo.kernelType === "winnt") { // Windows
|
||||
platform = "windows";
|
||||
} else if (systemInfo.kernelType === "darwin") { // Mac
|
||||
platform = "osx";
|
||||
} else if (systemInfo.kernelType === "linux") { // Linux
|
||||
platform = "linux";
|
||||
} else { // else, no installable components will appear
|
||||
platform = "unknown";
|
||||
}
|
||||
|
||||
var components = installer.components();
|
||||
for (var i = 0; i < components.length; i++) {
|
||||
var component = components[i];
|
||||
var name = component.name
|
||||
.replace("msvc", "windows")
|
||||
.replace("mingw", "windows");
|
||||
if (name.indexOf(platform) === -1) {
|
||||
component.setValue("Virtual", "true");
|
||||
component.setValue("Default", "false");
|
||||
} else {
|
||||
component.setValue("Default", "true"); // This only applies to "script" tagged components
|
||||
component.setValue("Enabled", "true");
|
||||
}
|
||||
}*/
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue