Skip to content

Commit

Permalink
Added PrismLauncher recipes
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbpirie committed Mar 2, 2023
1 parent 3d27506 commit 605da71
Show file tree
Hide file tree
Showing 3 changed files with 71 additions and 0 deletions.
23 changes: 23 additions & 0 deletions PrismLauncher/PrismLauncher.download.recipe.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
Description: Download recipe for Prism Launcher, an alternative launcher for Minecraft and fork of ManyMC.
Identifier: com.github.davidbpirie.download.PrismLauncher
MinimumVersion: 2.3.0

Input:
NAME: PrismLauncher
asset_regex: PrismLauncher-macOS-[0-9].*.tar.gz
github_repo: PrismLauncher/PrismLauncher

Process:
- Processor: GitHubReleasesInfoProvider

- Processor: URLDownloader
Arguments:
filename: '%NAME%-macos.tar.gz'

- Processor: EndOfCheckPhase

- Processor: Unarchiver
Arguments:
archive_path: '%pathname%'
destination_path: '%RECIPE_CACHE_DIR%/%NAME%'
purge_destination: true
35 changes: 35 additions & 0 deletions PrismLauncher/PrismLauncher.munki.recipe.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
Description: Download recipe for Prism Launcher, an alternative launcher for Minecraft and fork of ManyMC, then imports it to munki.
Identifier: com.github.davidbpirie.munki.PrismLauncher
ParentRecipe: com.github.davidbpirie.download.PrismLauncher
MinimumVersion: 2.3.0

Input:
NAME: PrismLauncher
MUNKI_DISPLAYNAME: Prism Launcher
MUNKI_DESCRIPTION: Prism Launcher is an alternative launcher for Minecraft, and a fork of ManyMC. It allows you to have multiple, cleanly separated instances of Minecraft (each with their own mods, resource packs, saves, etc) and helps you manage them and their associated options with a simple and powerful interface.
MUNKI_CATEGORY: Games
MUNKI_DEVELOPER: PrismLauncher
MUNKI_REPO_SUBDIR: '%MUNKI_CATEGORY%/%MUNKI_DEVELOPER%/%NAME%'
pkginfo:
blocking_applications:
- Prism Launcher
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: DmgCreator
Arguments:
dmg_path: '%RECIPE_CACHE_DIR%/%NAME%.dmg'
dmg_root: '%RECIPE_CACHE_DIR%/%NAME%'

- Processor: MunkiImporter
Arguments:
pkg_path: '%dmg_path%'
repo_subdirectory: '%MUNKI_REPO_SUBDIR%'
13 changes: 13 additions & 0 deletions PrismLauncher/PrismLauncher.pkg.recipe.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Description: Download recipe for Prism Launcher, an alternative launcher for Minecraft and fork of ManyMC, then builds a package.
Identifier: com.github.davidbpirie.pkg.PrismLauncher
ParentRecipe: com.github.davidbpirie.download.PrismLauncher
MinimumVersion: 2.3.0

Input:
NAME: PrismLauncher

Process:
- Processor: AppPkgCreator
Arguments:
app_path: '%RECIPE_CACHE_DIR%/%NAME%/*.app'

0 comments on commit 605da71

Please sign in to comment.