1password.ketarin.xml 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234
  1. <?xml version='1.0' encoding='utf-8'?>
  2. <Jobs>
  3. <ApplicationJob xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Guid="94a4a6bb-48e1-49e3-a1d6-aef0a094d0fd">
  4. <SourceTemplate><![CDATA[<?xml version="1.0" encoding="utf-8"?>
  5. <Jobs>
  6. <ApplicationJob xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  7. <WebsiteUrl />
  8. <UserAgent>chocolatey command line</UserAgent>
  9. <UserNotes />
  10. <LastFileSize>0</LastFileSize>
  11. <LastFileDate xsi:nil="true" />
  12. <IgnoreFileInformation>false</IgnoreFileInformation>
  13. <DownloadBeta>Default</DownloadBeta>
  14. <CheckForUpdatesOnly>false</CheckForUpdatesOnly>
  15. <VariableChangeIndicator />
  16. <HashVariable />
  17. <HashType>None</HashType>
  18. <CanBeShared>true</CanBeShared>
  19. <ShareApplication>false</ShareApplication>
  20. <ExclusiveDownload>false</ExclusiveDownload>
  21. <HttpReferer />
  22. <SetupInstructions />
  23. <Variables>
  24. <item>
  25. <key>
  26. <string>version</string>
  27. </key>
  28. <value>
  29. <UrlVariable>
  30. <RegexRightToLeft>false</RegexRightToLeft>
  31. <VariableType>RegularExpression</VariableType>
  32. <Regex>Last program version.*?([\d\.]+)</Regex>
  33. <Url><placeholder name="Url to search for updates" value="https://agilebits.com/downloads" /></Url>
  34. <Name>version</Name>
  35. </UrlVariable>
  36. </value>
  37. </item>
  38. <item>
  39. <key>
  40. <string>url</string>
  41. </key>
  42. <value>
  43. <UrlVariable>
  44. <RegexRightToLeft>false</RegexRightToLeft>
  45. <VariableType>Textual</VariableType>
  46. <Regex />
  47. <TextualContent>{getUrl}</TextualContent>
  48. <Name>url</Name>
  49. </UrlVariable>
  50. </value>
  51. </item>
  52. <item>
  53. <key>
  54. <string>url64</string>
  55. </key>
  56. <value>
  57. <UrlVariable>
  58. <RegexRightToLeft>false</RegexRightToLeft>
  59. <VariableType>Textual</VariableType>
  60. <Regex />
  61. <TextualContent>{getUrl64}</TextualContent>
  62. <Name>url64</Name>
  63. </UrlVariable>
  64. </value>
  65. </item>
  66. <item>
  67. <key>
  68. <string>getUrl</string>
  69. </key>
  70. <value>
  71. <UrlVariable>
  72. <RegexRightToLeft>false</RegexRightToLeft>
  73. <VariableType>RegularExpression</VariableType>
  74. <Regex>[^ "'&lt;&gt;\*]+\.exe</Regex>
  75. <Url>x</Url>
  76. <Name>getUrl</Name>
  77. </UrlVariable>
  78. </value>
  79. </item>
  80. <item>
  81. <key>
  82. <string>getUrl64</string>
  83. </key>
  84. <value>
  85. <UrlVariable>
  86. <RegexRightToLeft>false</RegexRightToLeft>
  87. <VariableType>RegularExpression</VariableType>
  88. <Regex>[^ "'&lt;&gt;\*]+\.exe</Regex>
  89. <Url>x</Url>
  90. <Name>getUrl64</Name>
  91. </UrlVariable>
  92. </value>
  93. </item>
  94. <item>
  95. <key>
  96. <string>checksum</string>
  97. </key>
  98. <value>
  99. <UrlVariable>
  100. <RegexRightToLeft>false</RegexRightToLeft>
  101. <VariableType>RegularExpression</VariableType>
  102. <Regex>[A-Fa-f0-9]{32}</Regex>
  103. <Url>md5</Url>
  104. <TextualContent>{checksum}</TextualContent>
  105. <Name>checksum</Name>
  106. </UrlVariable>
  107. </value>
  108. </item>
  109. <item>
  110. <key>
  111. <string>checksumx64</string>
  112. </key>
  113. <value>
  114. <UrlVariable>
  115. <RegexRightToLeft>false</RegexRightToLeft>
  116. <VariableType>RegularExpression</VariableType>
  117. <Regex>(?&lt;=ResponseUri: )[^\r\n]+</Regex>
  118. <Url>{url64}</Url>
  119. <TextualContent>{checksum}</TextualContent>
  120. <Name>checksumx64</Name>
  121. </UrlVariable>
  122. </value>
  123. </item>
  124. <item>
  125. <key>
  126. <string>checksum64file</string>
  127. </key>
  128. <value>
  129. <UrlVariable>
  130. <RegexRightToLeft>false</RegexRightToLeft>
  131. <VariableType>Textual</VariableType>
  132. <Regex />
  133. <TextualContent>{url64}</TextualContent>
  134. <Name>checksum64file</Name>
  135. </UrlVariable>
  136. </value>
  137. </item>
  138. <item>
  139. <key>
  140. <string>cscript</string>
  141. </key>
  142. <value>
  143. <UrlVariable>
  144. <RegexRightToLeft>false</RegexRightToLeft>
  145. <VariableType>Textual</VariableType>
  146. <Regex />
  147. <TextualContent>2</TextualContent>
  148. <Name>cscript</Name>
  149. </UrlVariable>
  150. </value>
  151. </item>
  152. </Variables>
  153. <ExecuteCommand />
  154. <ExecutePreCommand />
  155. <ExecuteCommandType>Batch</ExecuteCommandType>
  156. <ExecutePreCommandType>Batch</ExecutePreCommandType>
  157. <Category />
  158. <SourceType>FixedUrl</SourceType>
  159. <DeletePreviousFile>true</DeletePreviousFile>
  160. <Enabled>true</Enabled>
  161. <FileHippoId />
  162. <TargetPath>{saveDir}\{appname}_{version}.{url:ext}</TargetPath>
  163. <FixedDownloadUrl>{url}</FixedDownloadUrl>
  164. <Name><placeholder name="Name of the package (should match the folder under automatic and the nuspec file)." value="1password" /></Name>
  165. </ApplicationJob>
  166. </Jobs>
  167. ]]></SourceTemplate>
  168. <WebsiteUrl />
  169. <UserAgent>chocolatey command line</UserAgent>
  170. <UserNotes />
  171. <LastFileSize>10785376</LastFileSize>
  172. <LastFileDate>2016-08-22T14:15:56.5025575</LastFileDate>
  173. <IgnoreFileInformation>false</IgnoreFileInformation>
  174. <DownloadBeta>Default</DownloadBeta>
  175. <DownloadDate xsi:nil="true" />
  176. <CheckForUpdatesOnly>false</CheckForUpdatesOnly>
  177. <VariableChangeIndicator />
  178. <HashVariable />
  179. <HashType>None</HashType>
  180. <CanBeShared>true</CanBeShared>
  181. <ShareApplication>false</ShareApplication>
  182. <ExclusiveDownload>false</ExclusiveDownload>
  183. <HttpReferer />
  184. <SetupInstructions />
  185. <Variables>
  186. <item>
  187. <key>
  188. <string>version</string>
  189. </key>
  190. <value>
  191. <UrlVariable>
  192. <RegexRightToLeft>false</RegexRightToLeft>
  193. <VariableType>RegularExpression</VariableType>
  194. <Regex>1Password-([\d\.]+).exe</Regex>
  195. <Url>https://agilebits.com/downloads</Url>
  196. <Name>version</Name>
  197. </UrlVariable>
  198. </value>
  199. </item>
  200. <item>
  201. <key>
  202. <string>url</string>
  203. </key>
  204. <value>
  205. <UrlVariable>
  206. <RegexRightToLeft>false</RegexRightToLeft>
  207. <VariableType>RegularExpression</VariableType>
  208. <Regex>[^ "'&lt;&gt;\*]+{version}\.exe</Regex>
  209. <Url>https://agilebits.com/downloads</Url>
  210. <TextualContent>{getUrl}</TextualContent>
  211. <Name>url</Name>
  212. </UrlVariable>
  213. </value>
  214. </item>
  215. </Variables>
  216. <ExecuteCommand />
  217. <ExecutePreCommand />
  218. <ExecuteCommandType>Batch</ExecuteCommandType>
  219. <ExecutePreCommandType>Batch</ExecutePreCommandType>
  220. <Category />
  221. <SourceType>FixedUrl</SourceType>
  222. <PreviousLocation>c:\chocolatey-auto-save\1password_4.6.0.604.exe</PreviousLocation>
  223. <DeletePreviousFile>true</DeletePreviousFile>
  224. <Enabled>true</Enabled>
  225. <FileHippoId />
  226. <LastUpdated>2016-08-22T14:15:56.5025575</LastUpdated>
  227. <TargetPath>{saveDir}\{appname}_{version}.{url:ext}</TargetPath>
  228. <FixedDownloadUrl>{url}</FixedDownloadUrl>
  229. <Name>1password</Name>
  230. </ApplicationJob>
  231. </Jobs>