mirror of https://github.com/lukechilds/Agama.git
Satinder Grewal
8 years ago
committed by
GitHub
9 changed files with 1228 additions and 34 deletions
@ -0,0 +1,399 @@ |
|||||
|
<project> |
||||
|
<shortName>AgamaApp</shortName> |
||||
|
<fullName>iguana</fullName> |
||||
|
<version>${PKG_VERSION}</version> |
||||
|
<licenseFile>../../LICENSE</licenseFile> |
||||
|
<leftImage>../installer_imgs/Agama_installer_wizard_image.png</leftImage> |
||||
|
<logoImage>../installer_imgs/supernet-agama-logo.png</logoImage> |
||||
|
<splashImage>../installer_imgs/Agama_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} KB</detailedDescription> |
||||
|
<selected>1</selected> |
||||
|
<show>1</show> |
||||
|
<desktopShortcutList> |
||||
|
<shortcut> |
||||
|
<comment>Agama Desktop</comment> |
||||
|
<exec>${installdir}/Agama</exec> |
||||
|
<icon>${installdir}/resources/app/assets/icons/agama_icons/96x96.png</icon> |
||||
|
<name>Agama 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/Agama-linux-x64/locales</origin> |
||||
|
</distributionDirectory> |
||||
|
<distributionDirectory> |
||||
|
<origin>../../build/Agama-linux-x64/resources</origin> |
||||
|
</distributionDirectory> |
||||
|
<distributionFile> |
||||
|
<origin>../../build/Agama-linux-x64/version</origin> |
||||
|
</distributionFile> |
||||
|
<distributionFile> |
||||
|
<origin>../../build/Agama-linux-x64/content_resources_200_percent.pak</origin> |
||||
|
</distributionFile> |
||||
|
<distributionFile> |
||||
|
<origin>../../build/Agama-linux-x64/LICENSE</origin> |
||||
|
</distributionFile> |
||||
|
<distributionFile> |
||||
|
<origin>../../build/Agama-linux-x64/blink_image_resources_200_percent.pak</origin> |
||||
|
</distributionFile> |
||||
|
<distributionFile> |
||||
|
<origin>../../build/Agama-linux-x64/views_resources_200_percent.pak</origin> |
||||
|
</distributionFile> |
||||
|
<distributionFile> |
||||
|
<origin>../../build/Agama-linux-x64/ui_resources_200_percent.pak</origin> |
||||
|
</distributionFile> |
||||
|
<distributionFile> |
||||
|
<origin>../../build/Agama-linux-x64/natives_blob.bin</origin> |
||||
|
</distributionFile> |
||||
|
<distributionFile> |
||||
|
<origin>../../build/Agama-linux-x64/snapshot_blob.bin</origin> |
||||
|
</distributionFile> |
||||
|
<distributionFile> |
||||
|
<origin>../../build/Agama-linux-x64/LICENSES.chromium.html</origin> |
||||
|
</distributionFile> |
||||
|
<distributionFile> |
||||
|
<origin>../../build/Agama-linux-x64/libffmpeg.so</origin> |
||||
|
</distributionFile> |
||||
|
<distributionFile> |
||||
|
<origin>../../build/Agama-linux-x64/content_shell.pak</origin> |
||||
|
</distributionFile> |
||||
|
<distributionFile> |
||||
|
<origin>../../build/Agama-linux-x64/icudtl.dat</origin> |
||||
|
</distributionFile> |
||||
|
<distributionFile> |
||||
|
<origin>../../build/Agama-linux-x64/libnode.so</origin> |
||||
|
</distributionFile> |
||||
|
<distributionFile> |
||||
|
<origin>../../build/Agama-linux-x64/Agama</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> |
||||
|
<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/Agama</linkName> |
||||
|
<target>${installdir}/Agama</target> |
||||
|
</createSymLink> |
||||
|
<iniFileSet> |
||||
|
<file>${user_home_directory}/Desktop/Agama Desktop.desktop</file> |
||||
|
<key>Categories</key> |
||||
|
<section>Desktop Entry</section> |
||||
|
<value>Office;</value> |
||||
|
</iniFileSet> |
||||
|
<changeOwnerAndGroup> |
||||
|
<files>${user_home_directory}/Desktop/Agama Desktop.desktop</files> |
||||
|
<group>users</group> |
||||
|
<owner>nobody</owner> |
||||
|
</changeOwnerAndGroup> |
||||
|
<copyFile> |
||||
|
<destination>/usr/share/applications/Agama Desktop.desktop</destination> |
||||
|
<origin>${user_home_directory}/Desktop/Agama Desktop.desktop</origin> |
||||
|
</copyFile> |
||||
|
|
||||
|
<!-- 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/Agama</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-Agama</uninstallerName> |
||||
|
<vendor>SuperNETOrg</vendor> |
||||
|
<finalPageActionList> |
||||
|
<runProgram> |
||||
|
<program>/bin/Agama</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/AgamaApp</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>uninstall</value> |
||||
|
<default>uninstall</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>0</value> |
||||
|
<default>0</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> |
||||
|
|
@ -0,0 +1,309 @@ |
|||||
|
<project> |
||||
|
<shortName>AgamaApp</shortName> |
||||
|
<fullName>iguana</fullName> |
||||
|
<version>${PKG_VERSION}</version> |
||||
|
<licenseFile>../../LICENSE</licenseFile> |
||||
|
<leftImage>../installer_imgs/Agama_installer_wizard_image.png</leftImage> |
||||
|
<logoImage>../installer_imgs/supernet-agama-logo.png</logoImage> |
||||
|
<splashImage>../installer_imgs/Agama_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} KB</detailedDescription> |
||||
|
<selected>1</selected> |
||||
|
<show>1</show> |
||||
|
<folderList> |
||||
|
<folder> |
||||
|
<description>Program Files</description> |
||||
|
<destination>${installdir}</destination> |
||||
|
<name>programfiles</name> |
||||
|
<platforms>all</platforms> |
||||
|
</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> |
||||
|
<distributionFileList> |
||||
|
<distributionFile> |
||||
|
<origin>../../build/Agama-darwin-x64/Agama.app</origin> |
||||
|
</distributionFile> |
||||
|
</distributionFileList> |
||||
|
</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>open</program> |
||||
|
<programArguments>${oldInstalldir}/Agama.app/${uninstallerName}.app</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}/Library/Application Support/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 ZcashParams</explanation> |
||||
|
<path>${user_home_directory}/Library/Application Support/ZcashParams/</path> |
||||
|
<progressText>Deleting ZcashParams</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}/Library/Application Support/ZcashParams/</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}/Library/Application Support/ZcashParams/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}/Library/Application Support/ZcashParams/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}/Library/Application Support/ZcashParams/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}/Library/Application Support/ZcashParams/sprout-verifying.key</path> |
||||
|
</fileExists> |
||||
|
</ruleList> |
||||
|
</showProgressDialog> |
||||
|
</readyToInstallActionList> |
||||
|
<postInstallationActionList> |
||||
|
<!-- 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> |
||||
|
<compressionAlgorithm>lzham-ultra</compressionAlgorithm> |
||||
|
<enableRollback>0</enableRollback> |
||||
|
<enableSslSupport>1</enableSslSupport> |
||||
|
<enableTimestamp>1</enableTimestamp> |
||||
|
<requireInstallationByRootUser>1</requireInstallationByRootUser> |
||||
|
<saveRelativePaths>1</saveRelativePaths> |
||||
|
<uninstallerDirectory>${installdir}/Agama.app/</uninstallerDirectory> |
||||
|
<uninstallerName>Uninstall-Agama</uninstallerName> |
||||
|
<vendor>SuperNETOrg</vendor> |
||||
|
<finalPageActionList> |
||||
|
<runProgram> |
||||
|
<program>open</program> |
||||
|
<programArguments>/Applications/Agama.app</programArguments> |
||||
|
<progressText>Do you want to launch ${project.fullName} now?</progressText> |
||||
|
</runProgram> |
||||
|
</finalPageActionList> |
||||
|
<parameterList> |
||||
|
<directoryParameter> |
||||
|
<name>installdir</name> |
||||
|
<description>Installer.Parameter.installdir.description</description> |
||||
|
<explanation>Installer.Parameter.installdir.explanation</explanation> |
||||
|
<value></value> |
||||
|
<default>/Applications</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>uninstall</value> |
||||
|
<default>uninstall</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>0</value> |
||||
|
<default>0</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> |
||||
|
|
@ -0,0 +1,491 @@ |
|||||
|
<project> |
||||
|
<shortName>AgamaApp</shortName> |
||||
|
<fullName>iguana</fullName> |
||||
|
<version>${PKG_VERSION}</version> |
||||
|
<licenseFile>../../LICENSE</licenseFile> |
||||
|
<leftImage>../installer_imgs/Agama_installer_wizard_image.png</leftImage> |
||||
|
<logoImage>../installer_imgs/supernet-agama-logo.png</logoImage> |
||||
|
<splashImage>../installer_imgs/Agama_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} KB</detailedDescription> |
||||
|
<selected>1</selected> |
||||
|
<show>1</show> |
||||
|
<desktopShortcutList> |
||||
|
<shortcut> |
||||
|
<comment>Start Agama App</comment> |
||||
|
<exec></exec> |
||||
|
<icon></icon> |
||||
|
<name>Agama App</name> |
||||
|
<path></path> |
||||
|
<platforms>all</platforms> |
||||
|
<runAsAdmin>0</runAsAdmin> |
||||
|
<runInTerminal>0</runInTerminal> |
||||
|
<windowsExec>${installdir}/Agama.exe</windowsExec> |
||||
|
<windowsExecArgs></windowsExecArgs> |
||||
|
<windowsIcon></windowsIcon> |
||||
|
<windowsPath>${installdir}/</windowsPath> |
||||
|
</shortcut> |
||||
|
</desktopShortcutList> |
||||
|
<folderList> |
||||
|
<folder> |
||||
|
<description>Program Files</description> |
||||
|
<destination>${installdir}</destination> |
||||
|
<name>programfiles</name> |
||||
|
<platforms>all</platforms> |
||||
|
<shortcutList> |
||||
|
<shortcut> |
||||
|
<comment>Uninstall</comment> |
||||
|
<exec>${installdir}/${uninstallerName}</exec> |
||||
|
<icon></icon> |
||||
|
<name>Uninstall ${product_fullname}</name> |
||||
|
<path>${installdir}</path> |
||||
|
<platforms>all</platforms> |
||||
|
<runAsAdmin>0</runAsAdmin> |
||||
|
<runInTerminal>0</runInTerminal> |
||||
|
<windowsExec>${installdir}/${uninstallerName}.exe</windowsExec> |
||||
|
<windowsExecArgs></windowsExecArgs> |
||||
|
<windowsIcon></windowsIcon> |
||||
|
<windowsPath>${installdir}</windowsPath> |
||||
|
</shortcut> |
||||
|
</shortcutList> |
||||
|
</folder> |
||||
|
<folder> |
||||
|
<description>Program Files</description> |
||||
|
<destination>${installdir}</destination> |
||||
|
<name>programfileslinux</name> |
||||
|
<platforms>linux</platforms> |
||||
|
</folder> |
||||
|
<folder> |
||||
|
<description>Program Files</description> |
||||
|
<destination>${installdir}</destination> |
||||
|
<name>programfileswindows</name> |
||||
|
<platforms>windows</platforms> |
||||
|
<distributionFileList> |
||||
|
<distributionDirectory> |
||||
|
<origin>../../build/Agama-win32-x64/locales</origin> |
||||
|
</distributionDirectory> |
||||
|
<distributionDirectory> |
||||
|
<origin>../../build/Agama-win32-x64/resources</origin> |
||||
|
</distributionDirectory> |
||||
|
<distributionFile> |
||||
|
<origin>../../build/Agama-win32-x64/blink_image_resources_200_percent.pak</origin> |
||||
|
</distributionFile> |
||||
|
<distributionFile> |
||||
|
<origin>../../build/Agama-win32-x64/content_resources_200_percent.pak</origin> |
||||
|
</distributionFile> |
||||
|
<distributionFile> |
||||
|
<origin>../../build/Agama-win32-x64/content_shell.pak</origin> |
||||
|
</distributionFile> |
||||
|
<distributionFile> |
||||
|
<origin>../../build/Agama-win32-x64/ui_resources_200_percent.pak</origin> |
||||
|
</distributionFile> |
||||
|
<distributionFile> |
||||
|
<origin>../../build/Agama-win32-x64/views_resources_200_percent.pak</origin> |
||||
|
</distributionFile> |
||||
|
<distributionFile> |
||||
|
<origin>../../build/Agama-win32-x64/icudtl.dat</origin> |
||||
|
</distributionFile> |
||||
|
<distributionFile> |
||||
|
<origin>../../build/Agama-win32-x64/LICENSES.chromium.html</origin> |
||||
|
</distributionFile> |
||||
|
<distributionFile> |
||||
|
<origin>../../build/Agama-win32-x64/natives_blob.bin</origin> |
||||
|
</distributionFile> |
||||
|
<distributionFile> |
||||
|
<origin>../../build/Agama-win32-x64/snapshot_blob.bin</origin> |
||||
|
</distributionFile> |
||||
|
<distributionFile> |
||||
|
<origin>../../build/Agama-win32-x64/d3dcompiler_47.dll</origin> |
||||
|
</distributionFile> |
||||
|
<distributionFile> |
||||
|
<origin>../../build/Agama-win32-x64/ffmpeg.dll</origin> |
||||
|
</distributionFile> |
||||
|
<distributionFile> |
||||
|
<origin>../../build/Agama-win32-x64/libEGL.dll</origin> |
||||
|
</distributionFile> |
||||
|
<distributionFile> |
||||
|
<origin>../../build/Agama-win32-x64/libGLESv2.dll</origin> |
||||
|
</distributionFile> |
||||
|
<distributionFile> |
||||
|
<origin>../../build/Agama-win32-x64/node.dll</origin> |
||||
|
</distributionFile> |
||||
|
<distributionFile> |
||||
|
<origin>../../build/Agama-win32-x64/xinput1_3.dll</origin> |
||||
|
</distributionFile> |
||||
|
<distributionFile> |
||||
|
<origin>../../build/Agama-win32-x64/LICENSE</origin> |
||||
|
</distributionFile> |
||||
|
<distributionFile> |
||||
|
<origin>../../build/Agama-win32-x64/version</origin> |
||||
|
</distributionFile> |
||||
|
<distributionFile> |
||||
|
<origin>../../build/Agama-win32-x64/Agama.exe</origin> |
||||
|
</distributionFile> |
||||
|
</distributionFileList> |
||||
|
</folder> |
||||
|
<folder> |
||||
|
<description>Program Files</description> |
||||
|
<destination>${installdir}</destination> |
||||
|
<name>programfilesosx</name> |
||||
|
<platforms>osx</platforms> |
||||
|
</folder> |
||||
|
</folderList> |
||||
|
<startMenuShortcutList> |
||||
|
<startMenuShortcut> |
||||
|
<comment>Uninstall ${product_fullname}</comment> |
||||
|
<name>Uninstall Agama App</name> |
||||
|
<runAsAdmin>0</runAsAdmin> |
||||
|
<runInTerminal>0</runInTerminal> |
||||
|
<windowsExec>${installdir}/${uninstallerName}.exe</windowsExec> |
||||
|
<windowsExecArgs></windowsExecArgs> |
||||
|
<windowsIcon></windowsIcon> |
||||
|
<windowsPath>${installdir}/</windowsPath> |
||||
|
</startMenuShortcut> |
||||
|
<startMenuShortcut> |
||||
|
<comment>Start Agama App</comment> |
||||
|
<name>Agama App</name> |
||||
|
<runAsAdmin>0</runAsAdmin> |
||||
|
<runInTerminal>0</runInTerminal> |
||||
|
<windowsExec>${installdir}/Agama.exe</windowsExec> |
||||
|
<windowsExecArgs></windowsExecArgs> |
||||
|
<windowsIcon></windowsIcon> |
||||
|
<windowsPath>${installdir}/</windowsPath> |
||||
|
</startMenuShortcut> |
||||
|
<startMenuShortcut> |
||||
|
<comment>Right Click and Run As Administrator</comment> |
||||
|
<name>DLL Fix (Run As Administrator)</name> |
||||
|
<runAsAdmin>0</runAsAdmin> |
||||
|
<runInTerminal>0</runInTerminal> |
||||
|
<windowsExec>${installdir}/resources/app/windeps/CopyWinDepsFiles.bat</windowsExec> |
||||
|
<windowsExecArgs></windowsExecArgs> |
||||
|
<windowsIcon></windowsIcon> |
||||
|
<windowsPath>${installdir}/resources/app/windeps/</windowsPath> |
||||
|
</startMenuShortcut> |
||||
|
</startMenuShortcutList> |
||||
|
</component> |
||||
|
</componentList> |
||||
|
<preInstallationActionList> |
||||
|
<registryGetMatch> |
||||
|
<key>HKEY_LOCAL_MACHINE\SOFTWARE\${project.shortname}</key> |
||||
|
<name>uninstaller_path</name> |
||||
|
<variable>uninstaller_path</variable> |
||||
|
</registryGetMatch> |
||||
|
<setInstallerVariable> |
||||
|
<name>previous_installation_exists</name> |
||||
|
<value>1</value> |
||||
|
<ruleList> |
||||
|
<fileTest condition="exists" path="${uninstaller_path}"/> |
||||
|
</ruleList> |
||||
|
</setInstallerVariable> |
||||
|
</preInstallationActionList> |
||||
|
<readyToInstallActionList> |
||||
|
<runProgram> |
||||
|
<program>${uninstaller_path}</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>${windows_folder_appdata}/Agama</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> |
||||
|
<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> |
||||
|
<showProgressDialog> |
||||
|
<title>Downloading files</title> |
||||
|
<actionList> |
||||
|
<httpGet> |
||||
|
<abortOnError>0</abortOnError> |
||||
|
<explanation>Visual C++ Redistributable for Visual Studio 2015 library files are needed for Agama daemon</explanation> |
||||
|
<filename>${system_temp_directory}/vc_redist.x64.exe</filename> |
||||
|
<progressText>Downloading Visual C++ Redistributable for Visual Studio 2015</progressText> |
||||
|
<showMessageOnError>0</showMessageOnError> |
||||
|
<url>https://download.microsoft.com/download/9/3/F/93FCF1E7-E6A4-478B-96E7-D4B285925B00/vc_redist.x64.exe</url> |
||||
|
</httpGet> |
||||
|
</actionList> |
||||
|
<ruleList> |
||||
|
<fileExists> |
||||
|
<negate>1</negate> |
||||
|
<path>${system_temp_directory}/vc_redist.x64.exe</path> |
||||
|
</fileExists> |
||||
|
</ruleList> |
||||
|
</showProgressDialog> |
||||
|
<runProgram> |
||||
|
<abortOnError>0</abortOnError> |
||||
|
<explanation>Visual C++ Redistributable for Visual Studio 2015 library files are needed for Agama daemon</explanation> |
||||
|
<program>${system_temp_directory}/vc_redist.x64.exe</program> |
||||
|
<programArguments>/install /passive</programArguments> |
||||
|
<progressText>Downloading Visual C++ Redistributable for Visual Studio 2015</progressText> |
||||
|
<showMessageOnError>0</showMessageOnError> |
||||
|
</runProgram> |
||||
|
<showProgressDialog> |
||||
|
<title>Downloading files</title> |
||||
|
<actionList> |
||||
|
<httpGet> |
||||
|
<abortOnError>0</abortOnError> |
||||
|
<explanation>Visual C++ Redistributable for Visual Studio 2015 library files are needed for Agama daemon</explanation> |
||||
|
<filename>${system_temp_directory}/vc_redist.x86.exe</filename> |
||||
|
<progressText>Downloading Visual C++ Redistributable for Visual Studio 2015</progressText> |
||||
|
<showMessageOnError>0</showMessageOnError> |
||||
|
<url>https://download.microsoft.com/download/9/3/F/93FCF1E7-E6A4-478B-96E7-D4B285925B00/vc_redist.x86.exe</url> |
||||
|
</httpGet> |
||||
|
</actionList> |
||||
|
<ruleList> |
||||
|
<fileExists> |
||||
|
<negate>1</negate> |
||||
|
<path>${system_temp_directory}/vc_redist.x86.exe</path> |
||||
|
</fileExists> |
||||
|
</ruleList> |
||||
|
</showProgressDialog> |
||||
|
<runProgram> |
||||
|
<abortOnError>0</abortOnError> |
||||
|
<explanation>Visual C++ Redistributable for Visual Studio 2015 library files are needed for Agama daemon</explanation> |
||||
|
<program>${system_temp_directory}/vc_redist.x86.exe</program> |
||||
|
<programArguments>/install /passive</programArguments> |
||||
|
<progressText>Downloading Visual C++ Redistributable for Visual Studio 2015</progressText> |
||||
|
<showMessageOnError>0</showMessageOnError> |
||||
|
</runProgram> |
||||
|
<createDirectory> |
||||
|
<abortOnError>0</abortOnError> |
||||
|
<explanation>Creating ZcashParam directory</explanation> |
||||
|
<path>${windows_folder_appdata}/ZcashParams/</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>${windows_folder_appdata}/ZcashParams/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>${windows_folder_appdata}/ZcashParams/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>${windows_folder_appdata}/ZcashParams/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>${windows_folder_appdata}/ZcashParams/sprout-verifying.key</path> |
||||
|
</fileExists> |
||||
|
</ruleList> |
||||
|
</showProgressDialog> |
||||
|
</readyToInstallActionList> |
||||
|
<postInstallationActionList> |
||||
|
<registrySet> |
||||
|
<key>HKEY_LOCAL_MACHINE\SOFTWARE\${project.shortname}</key> |
||||
|
<name>uninstaller_path</name> |
||||
|
<type>REG_SZ</type> |
||||
|
<value>${installdir}/${uninstallerName}.exe</value> |
||||
|
</registrySet> |
||||
|
<actionGroup> |
||||
|
<actionList> |
||||
|
<copyFile> |
||||
|
<destination>C:\Windows\System32\</destination> |
||||
|
<explanation>Copying ReqCopying Required DLL filesuired DLL files</explanation> |
||||
|
<origin>${installdir}/resources/app/windeps/x86/ucrtbased.dll</origin> |
||||
|
<progressText>Copying ReqCopying Required DLL filesuired DLL files</progressText> |
||||
|
</copyFile> |
||||
|
<copyFile> |
||||
|
<destination>C:\Windows\System32\</destination> |
||||
|
<explanation>Copying ReqCopying Required DLL filesuired DLL files</explanation> |
||||
|
<origin>${installdir}/resources/app/windeps/x86/vcruntime140d.dll</origin> |
||||
|
<progressText>Copying ReqCopying Required DLL filesuired DLL files</progressText> |
||||
|
</copyFile> |
||||
|
</actionList> |
||||
|
<ruleList> |
||||
|
<platformTest type="windows-x86"/> |
||||
|
</ruleList> |
||||
|
</actionGroup> |
||||
|
<actionGroup> |
||||
|
<actionList> |
||||
|
<copyFile> |
||||
|
<destination>C:\Windows\System32\</destination> |
||||
|
<explanation>Copying ReqCopying Required DLL filesuired DLL files</explanation> |
||||
|
<origin>${installdir}/resources/app/windeps/x64/ucrtbased.dll</origin> |
||||
|
<progressText>Copying ReqCopying Required DLL filesuired DLL files</progressText> |
||||
|
</copyFile> |
||||
|
<copyFile> |
||||
|
<destination>C:\Windows\System32\</destination> |
||||
|
<explanation>Copying ReqCopying Required DLL filesuired DLL files</explanation> |
||||
|
<origin>${installdir}/resources/app/windeps/x64/vcruntime140d.dll</origin> |
||||
|
<progressText>Copying ReqCopying Required DLL filesuired DLL files</progressText> |
||||
|
</copyFile> |
||||
|
<copyFile> |
||||
|
<destination>C:\Windows\SysWOW64\</destination> |
||||
|
<explanation>Copying ReqCopying Required DLL filesuired DLL files</explanation> |
||||
|
<origin>${installdir}/resources/app/windeps/x86/ucrtbased.dll</origin> |
||||
|
<progressText>Copying ReqCopying Required DLL filesuired DLL files</progressText> |
||||
|
</copyFile> |
||||
|
<copyFile> |
||||
|
<destination>C:\Windows\SysWOW64\</destination> |
||||
|
<explanation>Copying ReqCopying Required DLL filesuired DLL files</explanation> |
||||
|
<origin>${installdir}/resources/app/windeps/x86/vcruntime140d.dll</origin> |
||||
|
<progressText>Copying ReqCopying Required DLL filesuired DLL files</progressText> |
||||
|
</copyFile> |
||||
|
</actionList> |
||||
|
<ruleList> |
||||
|
<platformTest type="windows-x64"/> |
||||
|
</ruleList> |
||||
|
</actionGroup> |
||||
|
</postInstallationActionList> |
||||
|
<postUninstallationActionList> |
||||
|
<registryDelete> |
||||
|
<key>HKEY_LOCAL_MACHINE\SOFTWARE\${project.shortname}</key> |
||||
|
<name>uninstaller_path</name> |
||||
|
</registryDelete> |
||||
|
</postUninstallationActionList> |
||||
|
<compressionAlgorithm>lzham-ultra</compressionAlgorithm> |
||||
|
<enableRollback>0</enableRollback> |
||||
|
<enableSslSupport>1</enableSslSupport> |
||||
|
<enableTimestamp>1</enableTimestamp> |
||||
|
<requireInstallationByRootUser>1</requireInstallationByRootUser> |
||||
|
<saveRelativePaths>1</saveRelativePaths> |
||||
|
<vendor>SuperNETOrg</vendor> |
||||
|
<windows64bitMode>1</windows64bitMode> |
||||
|
<finalPageActionList> |
||||
|
<runProgram> |
||||
|
<program>${installdir}/Agama.exe</program> |
||||
|
<programArguments>&</programArguments> |
||||
|
<progressText>Do you want to launch ${project.fullName} now?</progressText> |
||||
|
</runProgram> |
||||
|
</finalPageActionList> |
||||
|
<parameterList> |
||||
|
<directoryParameter> |
||||
|
<name>installdir</name> |
||||
|
<description>Installer.Parameter.installdir.description</description> |
||||
|
<explanation>Installer.Parameter.installdir.explanation</explanation> |
||||
|
<value></value> |
||||
|
<default>${platform_install_prefix}/${product_shortname}</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>uninstall</value> |
||||
|
<default>uninstall</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>0</value> |
||||
|
<default>0</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> |
||||
|
<platformOptionsList> |
||||
|
<platformOptions> |
||||
|
<platform>windows</platform> |
||||
|
</platformOptions> |
||||
|
</platformOptionsList> |
||||
|
</project> |
||||
|
|
@ -1,16 +1,13 @@ |
|||||
#!/bin/bash |
#!/bin/bash |
||||
### Build script for Iguana application for Linux x32 and x64 platform. |
### Build script for Iguana application for Linux x64 platform. |
||||
### Created by mmaxian, 3/2017 |
### Created by mmaxian, 3/2017 |
||||
|
|
||||
[ -z $IGUANA_VERSION ] && echo "IGUANA_VERSION variable is not set." && exit 0 |
[ -z $AGAMA_VERSION ] && echo "AGAMA_VERSION variable is not set." && exit 0 |
||||
|
|
||||
|
echo "Build script for Iguana application for Linux x64 platform." |
||||
|
echo "Preparing electron package $AGAMA_VERSION" |
||||
|
|
||||
echo "Build script for Iguana application for Linux x32 and x64 platform." |
|
||||
echo "Preparing electron package $IGUANA_VERSION" |
|
||||
electron-packager . --platform=linux --arch=ia32 \ |
|
||||
--icon=assets/icons/iguana_app_icon_png/128x128.png \ |
|
||||
--out=build/ --buildVersion=$IGUANA_VERSION \ |
|
||||
--ignore=assets/bin/win64 --ignore=assets/bin/osx --overwrite |
|
||||
electron-packager . --platform=linux --arch=x64 \ |
electron-packager . --platform=linux --arch=x64 \ |
||||
--icon=assets/icons/iguana_app_icon_png/128x128.png \ |
--icon=assets/icons/iguana_app_icon_png/128x128.png \ |
||||
--out=build/ --buildVersion=$IGUANA_VERSION \ |
--out=build/ --buildVersion=$AGAMA_VERSION \ |
||||
--ignore=assets/bin/win64 --ignore=assets/bin/osx --overwrite |
--ignore=assets/bin/win64 --ignore=assets/bin/osx --overwrite |
@ -1,18 +0,0 @@ |
|||||
#!/bin/bash |
|
||||
### Build script for Iguana application for Windows ia32 and x64 platform. |
|
||||
### Created by mmaxian, 3/2017 |
|
||||
|
|
||||
[ -z $IGUANA_VERSION ] && echo "IGUANA_VERSION variable is not set." && exit 0 |
|
||||
|
|
||||
echo "Build script for Iguana application for Windows ia32 and x64 platform." |
|
||||
echo "Preparing electron package $IGUANA_VERSION" |
|
||||
|
|
||||
electron-packager . --platform=win32 --arch=x64 \ |
|
||||
--icon=assets/icons/iguana_app_icon.ico \ |
|
||||
--out=build/ --buildVersion=$IGUANA_VERSION \ |
|
||||
--ignore=assets/bin/osx --ignore=assets/bin/linux64 --overwrite |
|
||||
|
|
||||
electron-packager . --platform=win32 --arch=ia32 \ |
|
||||
--icon=assets/icons/iguana_app_icon.ico \ |
|
||||
--out=build/ --buildVersion=$IGUANA_VERSION \ |
|
||||
--ignore=assets/bin/osx --ignore=assets/bin/linux64 --overwrite |
|
@ -0,0 +1,13 @@ |
|||||
|
#!/bin/bash |
||||
|
### Build script for Iguana application for Windows x64 platform. |
||||
|
### Created by mmaxian, 3/2017 |
||||
|
|
||||
|
[ -z $AGAMA_VERSION ] && echo "AGAMA_VERSION variable is not set." && exit 0 |
||||
|
|
||||
|
echo "Build script for Iguana application for Windows x64 platform." |
||||
|
echo "Preparing electron package $AGAMA_VERSION" |
||||
|
|
||||
|
electron-packager . --platform=win32 --arch=x64 \ |
||||
|
--icon=assets/icons/iguana_app_icon.ico \ |
||||
|
--out=build/ --buildVersion=$AGAMA_VERSION \ |
||||
|
--ignore=assets/bin/osx --ignore=assets/bin/linux64 --overwrite |
Loading…
Reference in new issue