Files
munki-recipes/RustDesk/RustDesk.download.recipe
T
2024-06-20 14:56:22 +02:00

69 lines
1.9 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Comment</key>
<string>Created with Recipe Robot v2.3.1 (https://github.com/homebysix/recipe-robot)</string>
<key>Description</key>
<string>Downloads the latest version of RustDesk.</string>
<key>Identifier</key>
<string>dk.kulmosen.download.RustDesk</string>
<key>Input</key>
<dict>
<key>NAME</key>
<string>RustDesk</string>
</dict>
<key>MinimumVersion</key>
<string>2.3</string>
<key>Process</key>
<array>
<dict>
<key>Arguments</key>
<dict>
<key>asset_regex</key>
<string>.*\.dmg$</string>
<key>github_repo</key>
<string>rustdesk/rustdesk</string>
</dict>
<key>Processor</key>
<string>GitHubReleasesInfoProvider</string>
</dict>
<dict>
<key>Arguments</key>
<dict>
<key>filename</key>
<string>%NAME%-%version%.dmg</string>
</dict>
<key>Processor</key>
<string>URLDownloader</string>
</dict>
<dict>
<key>Processor</key>
<string>EndOfCheckPhase</string>
</dict>
<dict>
<key>Arguments</key>
<dict>
<key>input_path</key>
<string>%pathname%/RustDesk.app</string>
<key>requirement</key>
<string>identifier "com.carriez.rustdesk" and anchor apple generic and certificate 1[field.1.2.840.113635.100.6.2.6] /* exists */ and certificate leaf[field.1.2.840.113635.100.6.1.13] /* exists */ and certificate leaf[subject.OU] = HZF9JMC8YN</string>
</dict>
<key>Processor</key>
<string>CodeSignatureVerifier</string>
</dict>
<dict>
<key>Arguments</key>
<dict>
<key>input_plist_path</key>
<string>%pathname%/RustDesk.app/Contents/Info.plist</string>
<key>plist_version_key</key>
<string>CFBundleShortVersionString</string>
</dict>
<key>Processor</key>
<string>Versioner</string>
</dict>
</array>
</dict>
</plist>