Files
munki-recipes/RustDesk/RustDesk-x86_64.munki.recipe
T

112 lines
2.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>Description</key>
<string>Downloads latest RustDesk macOS x86_64 DMG from GitHub and imports it into Munki for Intel Macs.</string>
<key>Identifier</key>
<string>local.munki.RustDesk-x86_64</string>
<key>MinimumVersion</key>
<string>2.3</string>
<key>Input</key>
<dict>
<key>NAME</key>
<string>RustDesk</string>
<key>MUNKI_REPO_SUBDIR</key>
<string>apps/RustDesk</string>
<key>pkginfo</key>
<dict>
<key>name</key>
<string>RustDesk</string>
<key>display_name</key>
<string>RustDesk</string>
<key>description</key>
<string>RustDesk remote support client for Intel Macs.</string>
<key>developer</key>
<string>RustDesk</string>
<key>category</key>
<string>Utilities</string>
<key>catalogs</key>
<array>
<string>testing</string>
</array>
<key>unattended_install</key>
<true/>
<key>unattended_uninstall</key>
<true/>
<key>blocking_applications</key>
<array>
<string>RustDesk.app</string>
</array>
<key>supported_architectures</key>
<array>
<string>x86_64</string>
</array>
<key>installable_condition</key>
<string>arch == "x86_64"</string>
</dict>
</dict>
<key>Process</key>
<array>
<dict>
<key>Processor</key>
<string>GitHubReleasesInfoProvider</string>
<key>Arguments</key>
<dict>
<key>github_repo</key>
<string>rustdesk/rustdesk</string>
<key>asset_regex</key>
<string>^rustdesk-[0-9]+(\.[0-9]+)*-x86_64\.dmg$</string>
</dict>
</dict>
<dict>
<key>Processor</key>
<string>URLDownloader</string>
<key>Arguments</key>
<dict>
<key>url</key>
<string>%url%</string>
<key>filename</key>
<string>RustDesk-%version%-x86_64.dmg</string>
</dict>
</dict>
<dict>
<key>Processor</key>
<string>EndOfCheckPhase</string>
</dict>
<dict>
<key>Processor</key>
<string>MunkiImporter</string>
<key>Arguments</key>
<dict>
<key>pkg_path</key>
<string>%pathname%</string>
<key>repo_subdirectory</key>
<string>%MUNKI_REPO_SUBDIR%</string>
</dict>
</dict>
</array>
</dict>
</plist>