mirror of https://github.com/lukechilds/Agama.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
411 lines
18 KiB
411 lines
18 KiB
<project>
|
|
<shortName>IguanaApp</shortName>
|
|
<fullName>iguana</fullName>
|
|
<version>0.1.4.1-beta</version>
|
|
<licenseFile>../../LICENSE</licenseFile>
|
|
<leftImage>../installer_imgs/Iguana_installer_wizard_image.png</leftImage>
|
|
<logoImage>../installer_imgs/supernet-iguana-logo.png</logoImage>
|
|
<splashImage>../installer_imgs/Iguana_installer_splash_image.png</splashImage>
|
|
<allowLanguageSelection>1</allowLanguageSelection>
|
|
<componentList>
|
|
<component>
|
|
<name>default</name>
|
|
<description>${project.shortName}</description>
|
|
<canBeEdited>0</canBeEdited>
|
|
<detailedDescription>All application files. Required size: ${project.component(default).requiredSize} bytes</detailedDescription>
|
|
<selected>1</selected>
|
|
<show>1</show>
|
|
<desktopShortcutList>
|
|
<shortcut>
|
|
<comment>Iguana Desktop</comment>
|
|
<exec>${installdir}/Iguana</exec>
|
|
<icon>${installdir}/resources/app/assets/icons/iguana_app_icon_png/96x96.png</icon>
|
|
<name>Iguana Desktop</name>
|
|
<path>${installdir}</path>
|
|
<platforms>all</platforms>
|
|
<runAsAdmin>0</runAsAdmin>
|
|
<runInTerminal>0</runInTerminal>
|
|
<windowsExec></windowsExec>
|
|
<windowsExecArgs></windowsExecArgs>
|
|
<windowsIcon></windowsIcon>
|
|
<windowsPath></windowsPath>
|
|
</shortcut>
|
|
</desktopShortcutList>
|
|
<folderList>
|
|
<folder>
|
|
<description>Program Files</description>
|
|
<destination>${installdir}</destination>
|
|
<name>programfiles</name>
|
|
<platforms>all</platforms>
|
|
<distributionFileList>
|
|
<distributionDirectory>
|
|
<origin>../../build/Iguana-linux-x64/locales</origin>
|
|
</distributionDirectory>
|
|
<distributionDirectory>
|
|
<origin>../../build/Iguana-linux-x64/resources</origin>
|
|
</distributionDirectory>
|
|
<distributionFile>
|
|
<origin>../../build/Iguana-linux-x64/version</origin>
|
|
</distributionFile>
|
|
<distributionFile>
|
|
<origin>../../build/Iguana-linux-x64/content_resources_200_percent.pak</origin>
|
|
</distributionFile>
|
|
<distributionFile>
|
|
<origin>../../build/Iguana-linux-x64/LICENSE</origin>
|
|
</distributionFile>
|
|
<distributionFile>
|
|
<origin>../../build/Iguana-linux-x64/blink_image_resources_200_percent.pak</origin>
|
|
</distributionFile>
|
|
<distributionFile>
|
|
<origin>../../build/Iguana-linux-x64/views_resources_200_percent.pak</origin>
|
|
</distributionFile>
|
|
<distributionFile>
|
|
<origin>../../build/Iguana-linux-x64/ui_resources_200_percent.pak</origin>
|
|
</distributionFile>
|
|
<distributionFile>
|
|
<origin>../../build/Iguana-linux-x64/natives_blob.bin</origin>
|
|
</distributionFile>
|
|
<distributionFile>
|
|
<origin>../../build/Iguana-linux-x64/snapshot_blob.bin</origin>
|
|
</distributionFile>
|
|
<distributionFile>
|
|
<origin>../../build/Iguana-linux-x64/LICENSES.chromium.html</origin>
|
|
</distributionFile>
|
|
<distributionFile>
|
|
<origin>../../build/Iguana-linux-x64/libffmpeg.so</origin>
|
|
</distributionFile>
|
|
<distributionFile>
|
|
<origin>../../build/Iguana-linux-x64/content_shell.pak</origin>
|
|
</distributionFile>
|
|
<distributionFile>
|
|
<origin>../../build/Iguana-linux-x64/icudtl.dat</origin>
|
|
</distributionFile>
|
|
<distributionFile>
|
|
<origin>../../build/Iguana-linux-x64/libnode.so</origin>
|
|
</distributionFile>
|
|
<distributionFile>
|
|
<origin>../../build/Iguana-linux-x64/Iguana</origin>
|
|
</distributionFile>
|
|
</distributionFileList>
|
|
</folder>
|
|
<folder>
|
|
<description>Program Files</description>
|
|
<destination>${installdir}</destination>
|
|
<name>programfileslinux</name>
|
|
<platforms>linux</platforms>
|
|
</folder>
|
|
<folder>
|
|
<description>Program Files</description>
|
|
<destination>${windows_folder_program_files}</destination>
|
|
<name>programfileswindows</name>
|
|
<platforms>windows</platforms>
|
|
</folder>
|
|
<folder>
|
|
<description>Program Files</description>
|
|
<destination>/Applications</destination>
|
|
<name>programfilesosx</name>
|
|
<platforms>osx</platforms>
|
|
</folder>
|
|
</folderList>
|
|
</component>
|
|
</componentList>
|
|
<preInstallationActionList>
|
|
<setInstallerVariable>
|
|
<name>previous_installation_exists</name>
|
|
<value>1</value>
|
|
<ruleList>
|
|
<fileTest condition="exists" path="/etc/${project.vendor}-${project.shortName}.ini"/>
|
|
</ruleList>
|
|
</setInstallerVariable>
|
|
|
|
<!-- Retreive values about previous installer so we can uninstall it -->
|
|
<foreach>
|
|
<values>version oldVersion installdir oldInstalldir</values>
|
|
<variables>name variable</variables>
|
|
<actionList>
|
|
<setInstallerVariable name="${variable}" value=""/>
|
|
<iniFileGet>
|
|
<file>/etc/${project.vendor}-${project.shortName}.ini</file>
|
|
<key>${name}</key>
|
|
<section>details</section>
|
|
<variable>${variable}</variable>
|
|
<ruleList>
|
|
<compareValues>
|
|
<logic>equals</logic>
|
|
<value1>${previous_installation_exists}</value1>
|
|
<value2>1</value2>
|
|
</compareValues>
|
|
</ruleList>
|
|
</iniFileGet>
|
|
</actionList>
|
|
<ruleList>
|
|
<platformTest negate="1" type="windows"/>
|
|
</ruleList>
|
|
</foreach>
|
|
</preInstallationActionList>
|
|
<readyToInstallActionList>
|
|
<runProgram>
|
|
<program>${oldInstalldir}/${uninstallerName}</program>
|
|
<programArguments></programArguments>
|
|
<ruleList>
|
|
<compareValues>
|
|
<logic>equals</logic>
|
|
<value1>${previous_installation_exists}</value1>
|
|
<value2>1</value2>
|
|
</compareValues>
|
|
</ruleList>
|
|
</runProgram>
|
|
<deleteFile>
|
|
<explanation>Deleting user data</explanation>
|
|
<path>${user_home_directory}/.iguana</path>
|
|
<progressText>Deleting user data</progressText>
|
|
<ruleList>
|
|
<compareValues>
|
|
<logic>equals</logic>
|
|
<value1>${previous_installation_exists}</value1>
|
|
<value2>1</value2>
|
|
</compareValues>
|
|
<compareValues>
|
|
<logic>equals</logic>
|
|
<value1>${installation_type}</value1>
|
|
<value2>uninstall</value2>
|
|
</compareValues>
|
|
<compareValues>
|
|
<logic>equals</logic>
|
|
<value1>${keep_settings_and_userdata}</value1>
|
|
<value2>0</value2>
|
|
</compareValues>
|
|
</ruleList>
|
|
</deleteFile>
|
|
<deleteFile>
|
|
<explanation>Deleting zcache-params</explanation>
|
|
<path>${user_home_directory}/.zcache-params</path>
|
|
<progressText>Deleting zcache-params</progressText>
|
|
<ruleList>
|
|
<compareValues>
|
|
<logic>equals</logic>
|
|
<value1>${previous_installation_exists}</value1>
|
|
<value2>1</value2>
|
|
</compareValues>
|
|
<compareValues>
|
|
<logic>equals</logic>
|
|
<value1>${installation_type}</value1>
|
|
<value2>uninstall</value2>
|
|
</compareValues>
|
|
<compareValues>
|
|
<logic>equals</logic>
|
|
<value1>${keep_settings_and_userdata}</value1>
|
|
<value2>0</value2>
|
|
</compareValues>
|
|
</ruleList>
|
|
</deleteFile>
|
|
<deleteFile>
|
|
<explanation>Deleting user settngs</explanation>
|
|
<path>${user_home_directory}/.config/Iguana</path>
|
|
<progressText>Deleting user settngs</progressText>
|
|
<ruleList>
|
|
<compareValues>
|
|
<logic>equals</logic>
|
|
<value1>${previous_installation_exists}</value1>
|
|
<value2>1</value2>
|
|
</compareValues>
|
|
<compareValues>
|
|
<logic>equals</logic>
|
|
<value1>${installation_type}</value1>
|
|
<value2>uninstall</value2>
|
|
</compareValues>
|
|
<compareValues>
|
|
<logic>equals</logic>
|
|
<value1>${keep_settings_and_userdata}</value1>
|
|
<value2>0</value2>
|
|
</compareValues>
|
|
</ruleList>
|
|
</deleteFile>
|
|
<exit>
|
|
<explanation>Uninstalled</explanation>
|
|
<progressText>Uninstalled</progressText>
|
|
<ruleList>
|
|
<compareValues>
|
|
<logic>equals</logic>
|
|
<value1>${previous_installation_exists}</value1>
|
|
<value2>1</value2>
|
|
</compareValues>
|
|
<compareValues>
|
|
<logic>equals</logic>
|
|
<value1>${installation_type}</value1>
|
|
<value2>uninstall</value2>
|
|
</compareValues>
|
|
</ruleList>
|
|
</exit>
|
|
<createDirectory>
|
|
<abortOnError>0</abortOnError>
|
|
<explanation>Creating ZcashParam directory</explanation>
|
|
<path>${user_home_directory}/.zcash-params/</path>
|
|
<progressText>Creating ZcashParam directory</progressText>
|
|
<showMessageOnError>0</showMessageOnError>
|
|
</createDirectory>
|
|
<showProgressDialog>
|
|
<abortOnError>0</abortOnError>
|
|
<explanation>Zcash Params file: sprout-proving.key</explanation>
|
|
<progressText>Zcash Params file: sprout-proving.key</progressText>
|
|
<showMessageOnError>0</showMessageOnError>
|
|
<title>Downloading Zcash Params file</title>
|
|
<actionList>
|
|
<httpGet>
|
|
<abortOnError>0</abortOnError>
|
|
<explanation>Zcash Params file: sprout-proving.key</explanation>
|
|
<filename>${user_home_directory}/.zcash-params/sprout-proving.key</filename>
|
|
<progressText>Zcash Params file: sprout-proving.key</progressText>
|
|
<showMessageOnError>0</showMessageOnError>
|
|
<url>https://z.cash/downloads/sprout-proving.key</url>
|
|
</httpGet>
|
|
</actionList>
|
|
<ruleList>
|
|
<fileExists>
|
|
<negate>1</negate>
|
|
<path>${user_home_directory}/.zcash-params/sprout-proving.key</path>
|
|
</fileExists>
|
|
</ruleList>
|
|
</showProgressDialog>
|
|
<showProgressDialog>
|
|
<abortOnError>0</abortOnError>
|
|
<explanation>Zcash Params file: sprout-verifying.key</explanation>
|
|
<progressText>Zcash Params file: sprout-verifying.key</progressText>
|
|
<title>Downloading Zcash Params files</title>
|
|
<actionList>
|
|
<httpGet>
|
|
<abortOnError>0</abortOnError>
|
|
<explanation>Zcash Params file: sprout-verifying.key</explanation>
|
|
<filename>${user_home_directory}/.zcash-params/sprout-verifying.key</filename>
|
|
<progressText>Zcash Params file: sprout-verifying.key</progressText>
|
|
<showMessageOnError>0</showMessageOnError>
|
|
<url>https://z.cash/downloads/sprout-verifying.key</url>
|
|
</httpGet>
|
|
</actionList>
|
|
<ruleList>
|
|
<fileExists>
|
|
<negate>1</negate>
|
|
<path>${user_home_directory}/.zcash-params/sprout-verifying.key</path>
|
|
</fileExists>
|
|
</ruleList>
|
|
</showProgressDialog>
|
|
</readyToInstallActionList>
|
|
<postInstallationActionList>
|
|
<createSymLink>
|
|
<abortOnError>0</abortOnError>
|
|
<linkName>/bin/Iguana</linkName>
|
|
<target>${installdir}/Iguana</target>
|
|
</createSymLink>
|
|
<changeOwnerAndGroup>
|
|
<files>${user_home_directory}/Desktop/Iguana Desktop.desktop</files>
|
|
<group>users</group>
|
|
<owner>nobody</owner>
|
|
</changeOwnerAndGroup>
|
|
|
|
<!-- Store values of current installer in etc folder so we can find for uninstal -->
|
|
<foreach>
|
|
<values>version "${project.version}" installdir "${installdir}"</values>
|
|
<variables>name variable</variables>
|
|
<actionList>
|
|
<iniFileSet>
|
|
<file>/etc/${project.vendor}-${project.shortName}.ini</file>
|
|
<key>${name}</key>
|
|
<section>details</section>
|
|
<value>${variable}</value>
|
|
</iniFileSet>
|
|
</actionList>
|
|
<ruleList>
|
|
<platformTest negate="1" type="windows"/>
|
|
</ruleList>
|
|
</foreach>
|
|
<addFilesToUninstaller files="/etc/${project.vendor}-${project.shortName}.ini"/>
|
|
</postInstallationActionList>
|
|
<postUninstallationActionList>
|
|
<deleteFile>
|
|
<abortOnError>0</abortOnError>
|
|
<path>/bin/Iguana</path>
|
|
</deleteFile>
|
|
</postUninstallationActionList>
|
|
<allowComponentSelection>1</allowComponentSelection>
|
|
<compressionAlgorithm>lzham-ultra</compressionAlgorithm>
|
|
<defaultUnixFilePermissions>755</defaultUnixFilePermissions>
|
|
<enableRollback>0</enableRollback>
|
|
<enableSslSupport>1</enableSslSupport>
|
|
<enableTimestamp>1</enableTimestamp>
|
|
<requireInstallationByRootUser>1</requireInstallationByRootUser>
|
|
<saveRelativePaths>1</saveRelativePaths>
|
|
<uninstallerName>Uninstall-Iguana</uninstallerName>
|
|
<vendor>SuperNETOrg</vendor>
|
|
<finalPageActionList>
|
|
<runProgram>
|
|
<program>/bin/Iguana</program>
|
|
<programArguments>&</programArguments>
|
|
<progressText>Do you want to launch ${project.fullName} now?</progressText>
|
|
<runAs>$USER</runAs>
|
|
</runProgram>
|
|
</finalPageActionList>
|
|
<parameterList>
|
|
<directoryParameter>
|
|
<name>installdir</name>
|
|
<description>Installer.Parameter.installdir.description</description>
|
|
<explanation>Installer.Parameter.installdir.explanation</explanation>
|
|
<value></value>
|
|
<default>/opt/IguanaApp</default>
|
|
<allowEmptyValue>0</allowEmptyValue>
|
|
<cliOptionName>prefix</cliOptionName>
|
|
<mustBeWritable>1</mustBeWritable>
|
|
<mustExist>0</mustExist>
|
|
<width>30</width>
|
|
<validationActionList>
|
|
<throwError>
|
|
<text>You don't have enough disk space to install the application,
|
|
please select another installation directory</text>
|
|
<ruleList>
|
|
<checkFreeDiskSpace>
|
|
<logic>less</logic>
|
|
<path>${installdir}</path>
|
|
<size>${required_diskspace}</size>
|
|
</checkFreeDiskSpace>
|
|
</ruleList>
|
|
</throwError>
|
|
</validationActionList>
|
|
</directoryParameter>
|
|
<choiceParameterGroup>
|
|
<name>installation_type</name>
|
|
<title>Instalation type</title>
|
|
<description>Existing instalation is detected</description>
|
|
<explanation>Existing instalation is detected</explanation>
|
|
<value>reinstall</value>
|
|
<default>reinstall</default>
|
|
<parameterList>
|
|
<parameterGroup>
|
|
<name>uninstall</name>
|
|
<title>Uninstall</title>
|
|
<explanation>Uninstall</explanation>
|
|
<value></value>
|
|
<default></default>
|
|
<parameterList>
|
|
<booleanParameter name="keep_settings_and_userdata" description="Keep setting and user data" displayStyle="checkbox-left">
|
|
<explanation></explanation>
|
|
<value>1</value>
|
|
<default>1</default>
|
|
</booleanParameter>
|
|
</parameterList>
|
|
</parameterGroup>
|
|
<labelParameter name="reinstall" description="Re-install current version">
|
|
<title>Re-install</title>
|
|
<explanation></explanation>
|
|
<image></image>
|
|
</labelParameter>
|
|
</parameterList>
|
|
<ruleList>
|
|
<compareValues>
|
|
<logic>equals</logic>
|
|
<value1>${previous_installation_exists}</value1>
|
|
<value2>1</value2>
|
|
</compareValues>
|
|
</ruleList>
|
|
</choiceParameterGroup>
|
|
</parameterList>
|
|
</project>
|
|
|
|
|