|
| 1 | +<project> |
| 2 | + <shortName>ArduinoCreateAgent</shortName> |
| 3 | + <fullName>arduino-create-agent</fullName> |
| 4 | + <version>1.0</version> |
| 5 | + <licenseFile>/home/jenkins/jenkins/jobs/Create_Bridge_autoupdate/workspace/LICENSE.md</licenseFile> |
| 6 | + <leftImage>/home/jenkins/jenkins/jobs/Create_Bridge_autoupdate/workspace/installer_icons/Installer.png</leftImage> |
| 7 | + <logoImage>/home/jenkins/jenkins/jobs/Create_Bridge_autoupdate/workspace/installer_icons/InstallerIcon.png</logoImage> |
| 8 | + <splashImage>/home/jenkins/jenkins/jobs/Create_Bridge_autoupdate/workspace/installer_icons/InstallerSplash.png</splashImage> |
| 9 | + <defaultLanguage>auto</defaultLanguage> |
| 10 | + <componentList> |
| 11 | + <component> |
| 12 | + <name>default</name> |
| 13 | + <description>Default Component</description> |
| 14 | + <canBeEdited>1</canBeEdited> |
| 15 | + <selected>1</selected> |
| 16 | + <show>1</show> |
| 17 | + <desktopShortcutList> |
| 18 | + <shortcut> |
| 19 | + <comment></comment> |
| 20 | + <exec>${installdir}/Arduino_Create_Bridge</exec> |
| 21 | + <icon>${installdir}/InstallerIcon.png</icon> |
| 22 | + <name>Arduino Create Agent</name> |
| 23 | + <path></path> |
| 24 | + <platforms>linux-x64</platforms> |
| 25 | + <runAsAdmin>0</runAsAdmin> |
| 26 | + <runInTerminal>0</runInTerminal> |
| 27 | + <windowsExec></windowsExec> |
| 28 | + <windowsExecArgs></windowsExecArgs> |
| 29 | + <windowsIcon></windowsIcon> |
| 30 | + <windowsPath></windowsPath> |
| 31 | + </shortcut> |
| 32 | + </desktopShortcutList> |
| 33 | + <folderList> |
| 34 | + <folder> |
| 35 | + <description>Program Files</description> |
| 36 | + <destination>${installdir}</destination> |
| 37 | + <name>programfiles</name> |
| 38 | + <platforms>all</platforms> |
| 39 | + <distributionFileList> |
| 40 | + <distributionFile> |
| 41 | + <origin>/home/jenkins/jenkins/jobs/Create_Bridge_autoupdate/workspace/fakecerts/cert.pem</origin> |
| 42 | + </distributionFile> |
| 43 | + <distributionFile> |
| 44 | + <origin>/home/jenkins/jenkins/jobs/Create_Bridge_autoupdate/workspace/fakecerts/key.pem</origin> |
| 45 | + </distributionFile> |
| 46 | + <distributionFile> |
| 47 | + <origin>/home/jenkins/jenkins/jobs/Create_Bridge_autoupdate/workspace/config.ini</origin> |
| 48 | + </distributionFile> |
| 49 | + </distributionFileList> |
| 50 | + <shortcutList> |
| 51 | + <shortcut> |
| 52 | + <comment>Uninstall</comment> |
| 53 | + <exec>${installdir}/${uninstallerName}</exec> |
| 54 | + <icon></icon> |
| 55 | + <name>Uninstall ${product_fullname}</name> |
| 56 | + <path>${installdir}</path> |
| 57 | + <platforms>all</platforms> |
| 58 | + <runAsAdmin>0</runAsAdmin> |
| 59 | + <runInTerminal>0</runInTerminal> |
| 60 | + <windowsExec>${installdir}/${uninstallerName}.exe</windowsExec> |
| 61 | + <windowsExecArgs></windowsExecArgs> |
| 62 | + <windowsIcon></windowsIcon> |
| 63 | + <windowsPath>${installdir}</windowsPath> |
| 64 | + </shortcut> |
| 65 | + </shortcutList> |
| 66 | + </folder> |
| 67 | + <folder> |
| 68 | + <description>Program Files</description> |
| 69 | + <destination>${installdir}</destination> |
| 70 | + <name>programfileslinux</name> |
| 71 | + <platforms>linux-x64</platforms> |
| 72 | + <distributionFileList> |
| 73 | + <distributionFile> |
| 74 | + <allowWildcards>1</allowWildcards> |
| 75 | + <origin>/home/jenkins/jenkins/jobs/Create_Bridge_autoupdate/workspace/snapshot/linux_amd64/Arduino_Create_Bridge</origin> |
| 76 | + </distributionFile> |
| 77 | + <distributionDirectory> |
| 78 | + <origin>/tmp/linux/arduino/arduino</origin> |
| 79 | + </distributionDirectory> |
| 80 | + <distributionFile> |
| 81 | + <origin>/home/jenkins/jenkins/jobs/Create_Bridge_autoupdate/workspace/installer_icons/InstallerIcon.png</origin> |
| 82 | + </distributionFile> |
| 83 | + </distributionFileList> |
| 84 | + </folder> |
| 85 | + <folder> |
| 86 | + <description>Program Files</description> |
| 87 | + <destination>${installdir}</destination> |
| 88 | + <name>programfileswindows</name> |
| 89 | + <platforms>windows</platforms> |
| 90 | + <distributionFileList> |
| 91 | + <distributionFile> |
| 92 | + <allowWildcards>1</allowWildcards> |
| 93 | + <origin>/home/jenkins/jenkins/jobs/Create_Bridge_autoupdate/workspace/snapshot/windows_386/Arduino_Create_Bridge.exe</origin> |
| 94 | + </distributionFile> |
| 95 | + <distributionDirectory> |
| 96 | + <origin>/tmp/windows/arduino/arduino</origin> |
| 97 | + </distributionDirectory> |
| 98 | + <distributionFile> |
| 99 | + <origin>/home/jenkins/jenkins/jobs/Create_Bridge_autoupdate/workspace/installer_icons/tray_iconWin.ico</origin> |
| 100 | + </distributionFile> |
| 101 | + </distributionFileList> |
| 102 | + </folder> |
| 103 | + <folder> |
| 104 | + <description>Program Files</description> |
| 105 | + <destination>${installdir}</destination> |
| 106 | + <name>programfilesosx</name> |
| 107 | + <platforms>osx</platforms> |
| 108 | + <distributionFileList> |
| 109 | + <distributionFile> |
| 110 | + <origin>/home/jenkins/jenkins/jobs/Create_Bridge_autoupdate/workspace/snapshot/darwin_amd64/Arduino_Create_Bridge</origin> |
| 111 | + </distributionFile> |
| 112 | + <distributionDirectory> |
| 113 | + <origin>/tmp/macosx/arduino/arduino</origin> |
| 114 | + </distributionDirectory> |
| 115 | + </distributionFileList> |
| 116 | + </folder> |
| 117 | + <folder> |
| 118 | + <description>Autostart</description> |
| 119 | + <destination>${user_home_directory}/.config/autostart/</destination> |
| 120 | + <name>xdgautostart</name> |
| 121 | + <platforms>linux-x64</platforms> |
| 122 | + <shortcutList> |
| 123 | + <shortcut> |
| 124 | + <comment></comment> |
| 125 | + <exec>${installdir}/Arduino_Create_Bridge</exec> |
| 126 | + <icon>${installdir}/InstallerIcon.png</icon> |
| 127 | + <name>arduino-create-agent</name> |
| 128 | + <path></path> |
| 129 | + <platforms>linux-x64</platforms> |
| 130 | + <runAsAdmin>0</runAsAdmin> |
| 131 | + <runInTerminal>0</runInTerminal> |
| 132 | + <windowsExec></windowsExec> |
| 133 | + <windowsExecArgs></windowsExecArgs> |
| 134 | + <windowsIcon></windowsIcon> |
| 135 | + <windowsPath></windowsPath> |
| 136 | + </shortcut> |
| 137 | + </shortcutList> |
| 138 | + </folder> |
| 139 | + <folder> |
| 140 | + <description>Autostart</description> |
| 141 | + <destination>${windows_folder_startup}</destination> |
| 142 | + <name>winautostart</name> |
| 143 | + <platforms>windows</platforms> |
| 144 | + <shortcutList> |
| 145 | + <shortcut> |
| 146 | + <comment></comment> |
| 147 | + <exec></exec> |
| 148 | + <icon></icon> |
| 149 | + <name>Arduino Create Agent</name> |
| 150 | + <path></path> |
| 151 | + <platforms>windows</platforms> |
| 152 | + <runAsAdmin>0</runAsAdmin> |
| 153 | + <runInTerminal>0</runInTerminal> |
| 154 | + <windowsExec>${installdir}/Arduino_Create_Bridge.exe</windowsExec> |
| 155 | + <windowsExecArgs></windowsExecArgs> |
| 156 | + <windowsIcon></windowsIcon> |
| 157 | + <windowsPath></windowsPath> |
| 158 | + </shortcut> |
| 159 | + </shortcutList> |
| 160 | + </folder> |
| 161 | + </folderList> |
| 162 | + <startMenuShortcutList> |
| 163 | + <startMenuShortcut> |
| 164 | + <comment>Uninstall ${product_fullname}</comment> |
| 165 | + <name>Uninstall ${product_fullname}</name> |
| 166 | + <runAsAdmin>0</runAsAdmin> |
| 167 | + <runInTerminal>0</runInTerminal> |
| 168 | + <windowsExec>${installdir}/${uninstallerName}.exe</windowsExec> |
| 169 | + <windowsExecArgs></windowsExecArgs> |
| 170 | + <windowsIcon></windowsIcon> |
| 171 | + <windowsPath>${installdir}/</windowsPath> |
| 172 | + </startMenuShortcut> |
| 173 | + <startMenuShortcut> |
| 174 | + <comment></comment> |
| 175 | + <name>Arduino Create Agent</name> |
| 176 | + <runAsAdmin>0</runAsAdmin> |
| 177 | + <runInTerminal>0</runInTerminal> |
| 178 | + <windowsExec>${installdir}/Arduino_Create_Bridge</windowsExec> |
| 179 | + <windowsExecArgs></windowsExecArgs> |
| 180 | + <windowsIcon>${installdir}/tray_IconWin.ico</windowsIcon> |
| 181 | + <windowsPath></windowsPath> |
| 182 | + </startMenuShortcut> |
| 183 | + </startMenuShortcutList> |
| 184 | + </component> |
| 185 | + </componentList> |
| 186 | + <preBuildActionList> |
| 187 | + <createDirectory> |
| 188 | + <path>/tmp/linux/arduino</path> |
| 189 | + </createDirectory> |
| 190 | + <createDirectory> |
| 191 | + <path>/tmp/macosx/arduino</path> |
| 192 | + </createDirectory> |
| 193 | + <createDirectory> |
| 194 | + <path>/tmp/windows/arduino</path> |
| 195 | + </createDirectory> |
| 196 | + <copyFile> |
| 197 | + <destination>/tmp/linux/Arduino_Create_Bridge</destination> |
| 198 | + <origin>/home/jenkins/jenkins/jobs/Create_Bridge_autoupdate/workspace/snapshot/linux_amd64/Arduino_Create_Bridge</origin> |
| 199 | + </copyFile> |
| 200 | + <copyFile> |
| 201 | + <destination>/tmp/macosx/Arduino_Create_Bridge</destination> |
| 202 | + <origin>/home/jenkins/jenkins/jobs/Create_Bridge_autoupdate/workspace/snapshot/darwin_amd64/Arduino_Create_Bridge</origin> |
| 203 | + </copyFile> |
| 204 | + <copyFile> |
| 205 | + <destination>/tmp/windows/Arduino_Create_Bridge.exe</destination> |
| 206 | + <origin>/home/jenkins/jenkins/jobs/Create_Bridge_autoupdate/workspace/snapshot/windows_386/Arduino_Create_Bridge.exe</origin> |
| 207 | + </copyFile> |
| 208 | + <unzip> |
| 209 | + <destinationDirectory>/tmp/linux/arduino/</destinationDirectory> |
| 210 | + <zipFile>/home/jenkins/jenkins/jobs/Create_Bridge_autoupdate/workspace/snapshot/linux_amd64/arduino.zip</zipFile> |
| 211 | + </unzip> |
| 212 | + <unzip> |
| 213 | + <destinationDirectory>/tmp/macosx/arduino/</destinationDirectory> |
| 214 | + <zipFile>/home/jenkins/jenkins/jobs/Create_Bridge_autoupdate/workspace/snapshot/darwin_amd64/arduino.zip</zipFile> |
| 215 | + </unzip> |
| 216 | + <unzip> |
| 217 | + <destinationDirectory>/tmp/windows/arduino/</destinationDirectory> |
| 218 | + <zipFile>/home/jenkins/jenkins/jobs/Create_Bridge_autoupdate/workspace/snapshot/windows_386/arduino.zip</zipFile> |
| 219 | + </unzip> |
| 220 | + </preBuildActionList> |
| 221 | + <postBuildActionList> |
| 222 | + <runProgram> |
| 223 | + <abortOnError>0</abortOnError> |
| 224 | + <program>tar</program> |
| 225 | + <programArguments>czvf ${product_shortname}-${product_version}-${platform_name}-installer.tar.gz ${product_shortname}-${product_version}-${platform_name}-installer.run</programArguments> |
| 226 | + <showMessageOnError>0</showMessageOnError> |
| 227 | + <workingDirectory>${installbuilder_output_directory}</workingDirectory> |
| 228 | + </runProgram> |
| 229 | + </postBuildActionList> |
| 230 | + <preInstallationActionList> |
| 231 | + <setInstallerVariable> |
| 232 | + <name>installdir</name> |
| 233 | + <value>${windows_folder_appdata}/${product_shortname}</value> |
| 234 | + <ruleList> |
| 235 | + <platformTest> |
| 236 | + <type>windows</type> |
| 237 | + </platformTest> |
| 238 | + </ruleList> |
| 239 | + </setInstallerVariable> |
| 240 | + <setInstallerVariable> |
| 241 | + <name>installdir</name> |
| 242 | + <value>/Users/${system_username}/Applications/${product_shortname}</value> |
| 243 | + <ruleList> |
| 244 | + <platformTest> |
| 245 | + <type>osx</type> |
| 246 | + </platformTest> |
| 247 | + </ruleList> |
| 248 | + </setInstallerVariable> |
| 249 | + </preInstallationActionList> |
| 250 | + <postInstallationActionList> |
| 251 | + <createOSXService> |
| 252 | + <groupname></groupname> |
| 253 | + <keepAlive>0</keepAlive> |
| 254 | + <program>${installdir}/Arduino_Create_Bridge</program> |
| 255 | + <programArguments></programArguments> |
| 256 | + <serviceName>${product_shortname}</serviceName> |
| 257 | + <username></username> |
| 258 | + </createOSXService> |
| 259 | + <runProgram> |
| 260 | + <program>${installdir}/Arduino_Create_Bridge</program> |
| 261 | + <programArguments>&</programArguments> |
| 262 | + <runAs>${system_username}</runAs> |
| 263 | + <useMSDOSPath>0</useMSDOSPath> |
| 264 | + <ruleList> |
| 265 | + <platformTest> |
| 266 | + <negate>1</negate> |
| 267 | + <type>windows</type> |
| 268 | + </platformTest> |
| 269 | + </ruleList> |
| 270 | + </runProgram> |
| 271 | + <runProgram> |
| 272 | + <program>${installdir}/Arduino_Create_Bridge.exe</program> |
| 273 | + <programArguments>&</programArguments> |
| 274 | + <progressText>Launching Agent</progressText> |
| 275 | + <runAs>${system_username}</runAs> |
| 276 | + <useMSDOSPath>0</useMSDOSPath> |
| 277 | + <ruleList> |
| 278 | + <platformTest> |
| 279 | + <type>windows</type> |
| 280 | + </platformTest> |
| 281 | + </ruleList> |
| 282 | + </runProgram> |
| 283 | + <xmlFileSet> |
| 284 | + <attribute>AbandonProcessGroup</attribute> |
| 285 | + <element></element> |
| 286 | + <file>/Users/${system_username}/Library/LaunchAgents/${product_shortname}.plist</file> |
| 287 | + <value>true</value> |
| 288 | + <ruleList> |
| 289 | + <osxServiceTest> |
| 290 | + <condition>exists</condition> |
| 291 | + <service>${product_shortname}</service> |
| 292 | + </osxServiceTest> |
| 293 | + </ruleList> |
| 294 | + </xmlFileSet> |
| 295 | + </postInstallationActionList> |
| 296 | + <preUninstallationActionList> |
| 297 | + <deleteOSXService> |
| 298 | + <serviceName>${product_shortname}</serviceName> |
| 299 | + </deleteOSXService> |
| 300 | + </preUninstallationActionList> |
| 301 | + <createOsxBundleDmg>1</createOsxBundleDmg> |
| 302 | + <enableRollback>0</enableRollback> |
| 303 | + <enableTimestamp>1</enableTimestamp> |
| 304 | + <startMenuGroupName>Arduino Create Agent</startMenuGroupName> |
| 305 | + <vendor>Arduino LLC</vendor> |
| 306 | + <windowsExecutableIcon>/home/jenkins/jenkins/jobs/Create_Bridge_autoupdate/workspace/src/github.com/facchinm/systray/example/icon/icon_win.ico</windowsExecutableIcon> |
| 307 | + <parameterList> |
| 308 | + <directoryParameter> |
| 309 | + <name>installdir</name> |
| 310 | + <description>Installer.Parameter.installdir.description</description> |
| 311 | + <explanation>Installer.Parameter.installdir.explanation</explanation> |
| 312 | + <value></value> |
| 313 | + <default>${platform_install_prefix}/${product_shortname}-${product_version}</default> |
| 314 | + <allowEmptyValue>0</allowEmptyValue> |
| 315 | + <cliOptionName>prefix</cliOptionName> |
| 316 | + <mustBeWritable>1</mustBeWritable> |
| 317 | + <mustExist>0</mustExist> |
| 318 | + <width>30</width> |
| 319 | + </directoryParameter> |
| 320 | + </parameterList> |
| 321 | + <platformOptionsList> |
| 322 | + <platformOptions> |
| 323 | + <platform>linux</platform> |
| 324 | + <requireInstallationByRootUser>0</requireInstallationByRootUser> |
| 325 | + </platformOptions> |
| 326 | + <platformOptions> |
| 327 | + <platform>linux-x64</platform> |
| 328 | + <requireInstallationByRootUser>0</requireInstallationByRootUser> |
| 329 | + </platformOptions> |
| 330 | + <platformOptions> |
| 331 | + <platform>osx</platform> |
| 332 | + <requireInstallationByRootUser>0</requireInstallationByRootUser> |
| 333 | + </platformOptions> |
| 334 | + </platformOptionsList> |
| 335 | +</project> |
| 336 | + |
0 commit comments