mirror of
https://github.com/yuzu-emu/citra-qt-installer
synced 2024-11-24 07:18:32 +00:00
Initial commit
This commit is contained in:
parent
d570f25817
commit
6c69b049b1
7 changed files with 60 additions and 0 deletions
3
build.bat
Normal file
3
build.bat
Normal file
|
@ -0,0 +1,3 @@
|
|||
rem Placeholder!
|
||||
rem You are going to want to adapt this
|
||||
T:\Applications\Qt\Tools\QtInstallerFramework\2.0\bin\binarycreator.exe -c config\config.xml -p empty -n CitraInstaller.exe -v -v -v
|
22
config/config.xml
Normal file
22
config/config.xml
Normal file
|
@ -0,0 +1,22 @@
|
|||
<?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.jselby.net/repository</Url>
|
||||
<Enabled>1</Enabled>
|
||||
<DisplayName>Selby's Testing Repo</DisplayName>
|
||||
</Repository>
|
||||
</RemoteRepositories>
|
||||
</Installer>
|
BIN
config/icon.icns
Normal file
BIN
config/icon.icns
Normal file
Binary file not shown.
BIN
config/icon.ico
Normal file
BIN
config/icon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 39 KiB |
BIN
config/icon.png
Normal file
BIN
config/icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 18 KiB |
35
config/installscript.qs
Normal file
35
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");
|
||||
}
|
||||
}*/
|
||||
}
|
0
packages/.gitkeep
Normal file
0
packages/.gitkeep
Normal file
Loading…
Reference in a new issue