Add QtIFW configuration & build files
parent
813837c5cf
commit
b72d1e0ca0
@ -0,0 +1,14 @@
|
||||
if (!(Test-Path redist\installerbase_win.exe)) {
|
||||
echo "Downloading dependencies..."
|
||||
if (!(Test-Path redist)) {
|
||||
New-Item -path . -name redist -itemtype directory
|
||||
}
|
||||
Invoke-WebRequest -Uri "https://github.com/citra-emu/ext-windows-bin/raw/master/qtifw/windows.zip" -OutFile windows.zip
|
||||
echo "Extracting..."
|
||||
Expand-Archive windows.zip -DestinationPath redist
|
||||
} else {
|
||||
echo "Found pre-downloaded redist."
|
||||
}
|
||||
|
||||
echo "Building Qt Installer to '.\citra-installer-windows.exe'..."
|
||||
.\redist\binarycreator_win.exe -t .\redist\installerbase_win.exe -n -c .\config\config_windows.xml -p .\packages\ citra-installer-windows
|
@ -0,0 +1,36 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
PLATFORM=""
|
||||
if [[ "$OSTYPE" == "linux-gnu" ]]; then
|
||||
PLATFORM="linux"
|
||||
elif [[ "$OSTYPE" == "darwin"* ]]; then
|
||||
PLATFORM="mac"
|
||||
else
|
||||
echo Your platform is not supported.
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ ! -f redist/installerbase_$PLATFORM ]; then
|
||||
echo Downloading dependencies...
|
||||
curl -L -O https://github.com/citra-emu/ext-windows-bin/raw/master/qtifw/$PLATFORM.tar.gz
|
||||
|
||||
echo Extracting...
|
||||
mkdir -p redist
|
||||
cd redist
|
||||
tar -zxvf ../$PLATFORM.tar.gz
|
||||
cd ..
|
||||
|
||||
chmod +x redist/*
|
||||
fi
|
||||
|
||||
TARGET_FILE=citra-installer-$PLATFORM
|
||||
CONFIG_FILE=config/config_$PLATFORM.xml
|
||||
REDIST_BASE=redist/installerbase_$PLATFORM
|
||||
BINARY_CREATOR=redist/binarycreator_$PLATFORM
|
||||
PACKAGES_DIR=packages
|
||||
|
||||
echo Building to \'$TARGET_FILE\'...
|
||||
|
||||
$BINARY_CREATOR -t $REDIST_BASE -n -c $CONFIG_FILE -p $PACKAGES_DIR $TARGET_FILE
|
@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Installer>
|
||||
<Name>Citra</Name>
|
||||
<Version>1.0.0</Version>
|
||||
<Title>Citra Updater</Title>
|
||||
<Publisher>Citra team</Publisher>
|
||||
<!-- e.g. /home/<user>/Citra -->
|
||||
<TargetDir>@HomeDir@/Citra</TargetDir>
|
||||
<InstallerApplicationIcon>icon</InstallerApplicationIcon>
|
||||
<InstallerWindowIcon>icon.png</InstallerWindowIcon>
|
||||
<RemoteRepositories>
|
||||
<Repository>
|
||||
<Url>https://repo.citra-emu.org</Url>
|
||||
<Enabled>1</Enabled>
|
||||
<DisplayName>Official Citra Repository</DisplayName>
|
||||
</Repository>
|
||||
</RemoteRepositories>
|
||||
</Installer>
|
@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Installer>
|
||||
<Name>Citra</Name>
|
||||
<Version>1.0.0</Version>
|
||||
<Title>Citra Updater</Title>
|
||||
<Publisher>Citra team</Publisher>
|
||||
<!-- e.g. /Applcations/Citra -->
|
||||
<TargetDir>@ApplicationsDir@/Citra</TargetDir>
|
||||
<InstallerApplicationIcon>icon</InstallerApplicationIcon>
|
||||
<InstallerWindowIcon>icon.png</InstallerWindowIcon>
|
||||
<RemoteRepositories>
|
||||
<Repository>
|
||||
<Url>https://repo.citra-emu.org</Url>
|
||||
<Enabled>1</Enabled>
|
||||
<DisplayName>Official Citra Repository</DisplayName>
|
||||
</Repository>
|
||||
</RemoteRepositories>
|
||||
</Installer>
|
@ -0,0 +1,19 @@
|
||||
<?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>
|
||||
<!-- e.g. C:\home\<user>\AppData\Local\Citra -->
|
||||
<TargetDir>@HomeDir@/AppData/Local/Citra</TargetDir>
|
||||
<InstallerApplicationIcon>icon</InstallerApplicationIcon>
|
||||
<InstallerWindowIcon>icon.png</InstallerWindowIcon>
|
||||
<RemoteRepositories>
|
||||
<Repository>
|
||||
<Url>https://repo.citra-emu.org</Url>
|
||||
<Enabled>1</Enabled>
|
||||
<DisplayName>Official Citra Repository</DisplayName>
|
||||
</Repository>
|
||||
</RemoteRepositories>
|
||||
</Installer>
|
Binary file not shown.
Binary file not shown.
After Width: | Height: | Size: 39 KiB |
Binary file not shown.
After Width: | Height: | Size: 18 KiB |
Loading…
Reference in New Issue