From 59eda4911e00ae5f17d205a2b1035c1c4e5c61e0 Mon Sep 17 00:00:00 2001 From: Dennis Juhler Aagaard Date: Mon, 19 Oct 2020 11:48:31 +0200 Subject: [PATCH] Revert back to working version --- OnlyOffice/ONLYOFFICE.download.recipe | 21 ++++++++++++++++++--- OnlyOffice/ONLYOFFICE.install.recipe | 15 +++++++++++++-- OnlyOffice/ONLYOFFICE.munki.recipe | 15 +++++++++++++-- OnlyOffice/ONLYOFFICE.pkg.recipe | 9 ++++++++- 4 files changed, 52 insertions(+), 8 deletions(-) diff --git a/OnlyOffice/ONLYOFFICE.download.recipe b/OnlyOffice/ONLYOFFICE.download.recipe index 0f89339..7d4d797 100644 --- a/OnlyOffice/ONLYOFFICE.download.recipe +++ b/OnlyOffice/ONLYOFFICE.download.recipe @@ -3,7 +3,7 @@ Comment - Created with Recipe Robot v2.0.0 (https://github.com/homebysix/recipe-robot) + Created with Recipe Robot v1.2.1 (https://github.com/homebysix/recipe-robot) Description Downloads the latest version of ONLYOFFICE. Identifier @@ -12,6 +12,8 @@ NAME ONLYOFFICE + SPARKLE_FEED_URL + http://download.onlyoffice.com/install/desktop/editors/mac/onlyoffice.xml MinimumVersion 1.0.0 @@ -21,7 +23,7 @@ Arguments appcast_url - http://download.onlyoffice.com/install/desktop/editors/mac/onlyoffice.xml + %SPARKLE_FEED_URL% Processor SparkleUpdateInfoProvider @@ -39,11 +41,24 @@ Processor EndOfCheckPhase + + Arguments + + archive_path + %pathname% + destination_path + %RECIPE_CACHE_DIR%/%NAME% + purge_destination + + + Processor + Unarchiver + Arguments input_path - %pathname%/ONLYOFFICE.app + %RECIPE_CACHE_DIR%/%NAME%/ONLYOFFICE.app requirement anchor apple generic and identifier "asc.onlyoffice.ONLYOFFICE" and (certificate leaf[field.1.2.840.113635.100.6.1.9] /* exists */ or 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] = "2WH24U26GJ") diff --git a/OnlyOffice/ONLYOFFICE.install.recipe b/OnlyOffice/ONLYOFFICE.install.recipe index b4db291..1e1cb69 100644 --- a/OnlyOffice/ONLYOFFICE.install.recipe +++ b/OnlyOffice/ONLYOFFICE.install.recipe @@ -3,7 +3,7 @@ Comment - Created with Recipe Robot v2.0.0 (https://github.com/homebysix/recipe-robot) + Created with Recipe Robot v1.2.1 (https://github.com/homebysix/recipe-robot) Description Installs the latest version of ONLYOFFICE. Identifier @@ -23,7 +23,18 @@ Arguments dmg_path - %pathname% + %RECIPE_CACHE_DIR%/%NAME%.dmg + dmg_root + %RECIPE_CACHE_DIR%/%NAME% + + Processor + DmgCreator + + + Arguments + + dmg_path + %dmg_path% items_to_copy diff --git a/OnlyOffice/ONLYOFFICE.munki.recipe b/OnlyOffice/ONLYOFFICE.munki.recipe index c18b847..813ce16 100644 --- a/OnlyOffice/ONLYOFFICE.munki.recipe +++ b/OnlyOffice/ONLYOFFICE.munki.recipe @@ -3,7 +3,7 @@ Comment - Created with Recipe Robot v2.0.0 (https://github.com/homebysix/recipe-robot) + Created with Recipe Robot v1.2.1 (https://github.com/homebysix/recipe-robot) Description Downloads the latest version of ONLYOFFICE and imports it into Munki. Identifier @@ -38,11 +38,22 @@ com.github.solutiogruppen.download.ONLYOFFICE Process + + Arguments + + dmg_path + %RECIPE_CACHE_DIR%/%NAME%.dmg + dmg_root + %RECIPE_CACHE_DIR%/%NAME% + + Processor + DmgCreator + Arguments pkg_path - %pathname% + %dmg_path% repo_subdirectory %MUNKI_REPO_SUBDIR% diff --git a/OnlyOffice/ONLYOFFICE.pkg.recipe b/OnlyOffice/ONLYOFFICE.pkg.recipe index e89eea6..944549a 100644 --- a/OnlyOffice/ONLYOFFICE.pkg.recipe +++ b/OnlyOffice/ONLYOFFICE.pkg.recipe @@ -3,13 +3,15 @@ Comment - Created with Recipe Robot v2.0.0 (https://github.com/homebysix/recipe-robot) + Created with Recipe Robot v1.2.1 (https://github.com/homebysix/recipe-robot) Description Downloads the latest version of ONLYOFFICE and creates a package. Identifier com.github.solutiogruppen.pkg.ONLYOFFICE Input + BUNDLE_ID + asc.onlyoffice.ONLYOFFICE NAME ONLYOFFICE @@ -20,6 +22,11 @@ Process + Arguments + + app_path + %RECIPE_CACHE_DIR%/%NAME%/ONLYOFFICE.app + Processor AppPkgCreator