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