diff --git a/build.bat b/build.bat new file mode 100644 index 0000000..12c9e7f --- /dev/null +++ b/build.bat @@ -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 \ No newline at end of file diff --git a/config/config.xml b/config/config.xml new file mode 100644 index 0000000..801c884 --- /dev/null +++ b/config/config.xml @@ -0,0 +1,22 @@ + + + Citra + 1.0.0 + Citra Updater + Citra team + Citra + @HomeDir@/Citra + @TargetDir@/nightly/citra-qt.exe + icon + icon.png + Start Citra + + + + https://citra.jselby.net/repository + 1 + Selby's Testing Repo + + + diff --git a/config/icon.icns b/config/icon.icns new file mode 100644 index 0000000..477e0c5 Binary files /dev/null and b/config/icon.icns differ diff --git a/config/icon.ico b/config/icon.ico new file mode 100644 index 0000000..c531052 Binary files /dev/null and b/config/icon.ico differ diff --git a/config/icon.png b/config/icon.png new file mode 100644 index 0000000..fd10272 Binary files /dev/null and b/config/icon.png differ diff --git a/config/installscript.qs b/config/installscript.qs new file mode 100644 index 0000000..c0107d0 --- /dev/null +++ b/config/installscript.qs @@ -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"); + } + }*/ +} diff --git a/packages/.gitkeep b/packages/.gitkeep new file mode 100644 index 0000000..e69de29