Skip to content

Commit

Permalink
Add JProfiler recipes
Browse files Browse the repository at this point in the history
  • Loading branch information
homebysix committed Sep 23, 2024
1 parent 1027201 commit 5f56ec2
Show file tree
Hide file tree
Showing 3 changed files with 156 additions and 0 deletions.
72 changes: 72 additions & 0 deletions JProfiler/JProfiler.download.recipe
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
<?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.0 (https://github.com/homebysix/recipe-robot)</string>
<key>Description</key>
<string>Downloads the latest version of JProfiler.</string>
<key>Identifier</key>
<string>com.github.homebysix.download.JProfiler</string>
<key>Input</key>
<dict>
<key>NAME</key>
<string>JProfiler</string>
</dict>
<key>MinimumVersion</key>
<string>2.3</string>
<key>Process</key>
<array>
<dict>
<key>Arguments</key>
<dict>
<key>re_pattern</key>
<string>(jprofiler/jprofiler_macos_[\d\_]+.dmg)</string>
<key>result_output_var_name</key>
<string>urlpath</string>
<key>url</key>
<string>https://www.ej-technologies.com/jprofiler/download</string>
</dict>
<key>Processor</key>
<string>URLTextSearcher</string>
</dict>
<dict>
<key>Arguments</key>
<dict>
<key>filename</key>
<string>%NAME%.dmg</string>
<key>url</key>
<string>https://download.ej-technologies.com/%urlpath%</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%/JProfiler.app</string>
<key>requirement</key>
<string>always</string>
</dict>
<key>Processor</key>
<string>CodeSignatureVerifier</string>
</dict>
<dict>
<key>Arguments</key>
<dict>
<key>input_plist_path</key>
<string>%pathname%/JProfiler.app/Contents/Info.plist</string>
<key>plist_version_key</key>
<string>CFBundleShortVersionString</string>
</dict>
<key>Processor</key>
<string>Versioner</string>
</dict>
</array>
</dict>
</plist>
56 changes: 56 additions & 0 deletions JProfiler/JProfiler.munki.recipe
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
<?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.0 (https://github.com/homebysix/recipe-robot)</string>
<key>Description</key>
<string>Downloads the latest version of JProfiler and imports it into Munki.</string>
<key>Identifier</key>
<string>com.github.homebysix.munki.JProfiler</string>
<key>Input</key>
<dict>
<key>MUNKI_REPO_SUBDIR</key>
<string>apps/%NAME%</string>
<key>NAME</key>
<string>JProfiler</string>
<key>pkginfo</key>
<dict>
<key>catalogs</key>
<array>
<string>testing</string>
</array>
<key>description</key>
<string>JProfiler is the industry's most comprehensive all-in one Java profiler that helps resolve performance bottlenecks, pin down memory leaks and understand threading issues.</string>
<key>developer</key>
<string>ej-technologies</string>
<key>display_name</key>
<string>JProfiler</string>
<key>name</key>
<string>%NAME%</string>
<key>unattended_install</key>
<true/>
<key>unattended_uninstall</key>
<true/>
</dict>
</dict>
<key>MinimumVersion</key>
<string>2.3</string>
<key>ParentRecipe</key>
<string>com.github.homebysix.download.JProfiler</string>
<key>Process</key>
<array>
<dict>
<key>Arguments</key>
<dict>
<key>pkg_path</key>
<string>%pathname%</string>
<key>repo_subdirectory</key>
<string>%MUNKI_REPO_SUBDIR%</string>
</dict>
<key>Processor</key>
<string>MunkiImporter</string>
</dict>
</array>
</dict>
</plist>
28 changes: 28 additions & 0 deletions JProfiler/JProfiler.pkg.recipe
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?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.0 (https://github.com/homebysix/recipe-robot)</string>
<key>Description</key>
<string>Downloads the latest version of JProfiler and creates a package.</string>
<key>Identifier</key>
<string>com.github.homebysix.pkg.JProfiler</string>
<key>Input</key>
<dict>
<key>NAME</key>
<string>JProfiler</string>
</dict>
<key>MinimumVersion</key>
<string>2.3</string>
<key>ParentRecipe</key>
<string>com.github.homebysix.download.JProfiler</string>
<key>Process</key>
<array>
<dict>
<key>Processor</key>
<string>AppPkgCreator</string>
</dict>
</array>
</dict>
</plist>

0 comments on commit 5f56ec2

Please sign in to comment.