|
116 | 116 | </folder>
|
117 | 117 | <folder>
|
118 | 118 | <description>Autostart</description>
|
119 |
| - <destination>/etc/xdg/autostart</destination> |
| 119 | + <destination>${user_home_directory}/.config/autostart/</destination> |
120 | 120 | <name>xdgautostart</name>
|
121 | 121 | <platforms>linux-x64</platforms>
|
122 | 122 | <shortcutList>
|
123 | 123 | <shortcut>
|
124 | 124 | <comment></comment>
|
125 |
| - <exec>${installdir}/Arduino_Create_Bridge &</exec> |
| 125 | + <exec>${installdir}/Arduino_Create_Bridge</exec> |
126 | 126 | <icon>${installdir}/InstallerIcon.png</icon>
|
127 | 127 | <name>arduino-create-agent</name>
|
128 | 128 | <path></path>
|
|
218 | 218 | <zipFile>/home/jenkins/jenkins/jobs/Create_Bridge_test/workspace/snapshot/windows_386/arduino.zip</zipFile>
|
219 | 219 | </unzip>
|
220 | 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> |
221 | 230 | <postInstallationActionList>
|
222 | 231 | <createOSXService>
|
223 | 232 | <groupname></groupname>
|
|
230 | 239 | <runProgram>
|
231 | 240 | <program>${installdir}/Arduino_Create_Bridge</program>
|
232 | 241 | <programArguments>&</programArguments>
|
| 242 | + <useMSDOSPath>0</useMSDOSPath> |
233 | 243 | <ruleList>
|
234 | 244 | <platformTest>
|
235 | 245 | <negate>1</negate>
|
236 | 246 | <type>windows</type>
|
237 | 247 | </platformTest>
|
238 | 248 | </ruleList>
|
239 | 249 | </runProgram>
|
240 |
| - <runProgram> |
241 |
| - <program>schtasks</program> |
242 |
| - <programArguments>/create /sc onlogon /tn ArduinoCreateAgent /rl highest /tr "${installdir}/Arduino_Create_Bridge.exe"</programArguments> |
243 |
| - <progressText>Creating startup task</progressText> |
244 |
| - <ruleList> |
245 |
| - <platformTest> |
246 |
| - <type>windows-2000</type> |
247 |
| - </platformTest> |
248 |
| - </ruleList> |
249 |
| - </runProgram> |
250 | 250 | <runProgram>
|
251 | 251 | <program>${installdir}/Arduino_Create_Bridge.exe</program>
|
252 | 252 | <programArguments>&</programArguments>
|
253 | 253 | <progressText>Launching Agent</progressText>
|
254 | 254 | <useMSDOSPath>0</useMSDOSPath>
|
255 |
| - <workingDirectory>${installdir}</workingDirectory> |
256 | 255 | <ruleList>
|
257 | 256 | <platformTest>
|
258 | 257 | <type>windows</type>
|
|
270 | 269 | </platformTest>
|
271 | 270 | </ruleList>
|
272 | 271 | </registrySet>
|
| 272 | + <addScheduledTask> |
| 273 | + <dayOfMonth>1</dayOfMonth> |
| 274 | + <disallowStartIfOnBatteries>0</disallowStartIfOnBatteries> |
| 275 | + <duration></duration> |
| 276 | + <endDate></endDate> |
| 277 | + <interval></interval> |
| 278 | + <name>ArduinoCreateAgent</name> |
| 279 | + <password></password> |
| 280 | + <period>1</period> |
| 281 | + <program>Arduino_Create_Bridge.exe</program> |
| 282 | + <programArguments></programArguments> |
| 283 | + <runAsAdmin>0</runAsAdmin> |
| 284 | + <runOnlyIfLoggedOn>1</runOnlyIfLoggedOn> |
| 285 | + <startDate></startDate> |
| 286 | + <startTime></startTime> |
| 287 | + <type>ONLOGON</type> |
| 288 | + <weekDays>*</weekDays> |
| 289 | + <workingDirectory>${installdir}</workingDirectory> |
| 290 | + </addScheduledTask> |
273 | 291 | </postInstallationActionList>
|
274 | 292 | <preUninstallationActionList>
|
275 | 293 | <deleteOSXService>
|
276 | 294 | <serviceName>${product_shortname}</serviceName>
|
277 | 295 | </deleteOSXService>
|
278 |
| - <runProgram> |
279 |
| - <program>schtasks</program> |
280 |
| - <programArguments>/delete /tn ArduinoCreateAgent /f</programArguments> |
281 |
| - <ruleList> |
282 |
| - <platformTest> |
283 |
| - <type>windows-2000</type> |
284 |
| - </platformTest> |
285 |
| - </ruleList> |
286 |
| - </runProgram> |
| 296 | + <deleteScheduledTask> |
| 297 | + <name>ArduinoCreateAgent</name> |
| 298 | + </deleteScheduledTask> |
287 | 299 | </preUninstallationActionList>
|
288 | 300 | <createOsxBundleDmg>1</createOsxBundleDmg>
|
289 | 301 | <enableRollback>1</enableRollback>
|
|
306 | 318 | <width>30</width>
|
307 | 319 | </directoryParameter>
|
308 | 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 | + </platformOptionsList> |
309 | 331 | </project>
|
310 | 332 |
|
0 commit comments