Skip to content

Commit

Permalink
Added MuseScore
Browse files Browse the repository at this point in the history
  • Loading branch information
David Pirie committed Nov 12, 2024
1 parent abed3ff commit 05e1891
Show file tree
Hide file tree
Showing 2 changed files with 72 additions and 0 deletions.
40 changes: 40 additions & 0 deletions MuseScore/MuseScore.jamf-upload.recipe.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
Description: |
Downloads MuseScore and creates a package installer for the app,
then uploads the package to Jamf Pro.
JSS_URL, API_USERNAME, and API_PASSWORD, and for non-cloud instances
SMB_URL, SMB_USERNAME and SMB_PASSWORD, are expected to be populated
in your AutoPkg preferences, override Input variables, or by
command-line keys.
Identifier: com.github.davidbpirie.jamf-upload.MuseScore
MinimumVersion: 2.3.0
ParentRecipe: com.github.jazzace.pkg.MuseScore

Input:
NAME: MuseScore
JAMF_CATEGORY: Music
JAMF_PKG_NAME: '%NAME%'
JAMF_PKG_INFO: The world's most popular notation app.
JAMF_PKG_NOTES: 'Uploaded by AutoPkg'
JAMF_PKG_PRIORITY: '10'
JAMF_PKG_REBOOT_REQUIRED: 'False'
JAMF_PKG_OS_REQUIREMENTS: ''
JAMF_PKG_REQUIRED_PROCESSOR: None
JAMF_PKG_SEND_NOTIFICATION: 'False'
JAMF_PKG_REPLACE: 'False'
JAMF_PKG_REPLACE_METADATA: 'False'

Process:
- Processor: com.github.grahampugh.jamf-upload.processors/JamfPackageUploader
Arguments:
pkg_name: '%JAMF_PKG_NAME%-%version%.pkg'
pkg_category: '%JAMF_CATEGORY%'
pkg_info: '%JAMF_PKG_INFO%'
pkg_notes: '%JAMF_PKG_NOTES%'
pkg_priority: '%JAMF_PKG_PRIORITY%'
reboot_required: '%JAMF_PKG_REBOOT_REQUIRED%'
os_requirements: '%JAMF_PKG_OS_REQUIREMENTS%'
required_processor: '%JAMF_PKG_REQUIRED_PROCESSOR%'
send_notification: '%JAMF_PKG_SEND_NOTIFICATION%'
replace_pkg: '%JAMF_PKG_REPLACE%'
replace_pkg_metadata: '%JAMF_PKG_REPLACE_METADATA%'
32 changes: 32 additions & 0 deletions MuseScore/MuseScore.munki.recipe.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
Description: |
Downloads MuseScore and creates a package installer for the app,
then imports it to munki.
Identifier: com.github.davidbpirie.munki.MuseScore
ParentRecipe: com.github.jazzace.download.MuseScore
MinimumVersion: 2.3.0

Input:
NAME: MuseScore
MUNKI_DISPLAYNAME: MuseScore
MUNKI_DESCRIPTION: The world's most popular notation app.
MUNKI_CATEGORY: Music
MUNKI_DEVELOPER: MuseScore
MUNKI_REPO_SUBDIR: '%MUNKI_CATEGORY%/%MUNKI_DEVELOPER%/%NAME%'
pkginfo:
blocking_applications:
- MuseScore 4
catalogs:
- testing
category: '%MUNKI_CATEGORY%'
description: '%MUNKI_DESCRIPTION%'
developer: '%MUNKI_DEVELOPER%'
display_name: '%MUNKI_DISPLAYNAME%'
name: '%NAME%'
unattended_install: true
unattended_uninstall: true

Process:
- Processor: MunkiImporter
Arguments:
pkg_path: '%pathname%'
repo_subdirectory: '%MUNKI_REPO_SUBDIR%'

0 comments on commit 05e1891

Please sign in to comment.