diff --git a/Molotov/Molotov.download.recipe b/Molotov/Molotov.download.recipe index 1e22818..cef0332 100644 --- a/Molotov/Molotov.download.recipe +++ b/Molotov/Molotov.download.recipe @@ -23,14 +23,14 @@ url https://www.molotov.tv/app/mac/latest?version=v1 re_pattern - http://desktop-auto-upgrade\.molotov\.tv/mac/Molotov-v(?P<url_version_number>.*?)-mac\.zip + https://desktop-auto-upgrade\.molotov\.tv/mac/Molotov-(?P<url_version_number>.*?)-mac\.zip Arguments url - http://desktop-auto-upgrade.molotov.tv/mac/Molotov-v%url_version_number%-mac.zip + https://desktop-auto-upgrade.molotov.tv/mac/Molotov-%url_version_number%-mac.zip Processor URLDownloader @@ -39,6 +39,21 @@ Processor EndOfCheckPhase + + Processor + Unarchiver + + + Processor + CodeSignatureVerifier + Arguments + + input_path + %RECIPE_CACHE_DIR%/%NAME%/Molotov.app + requirement + identifier "tv.molotov.MolotovDesktopApp" and anchor apple generic and 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] = S7HY56XG6J + + diff --git a/Molotov/Molotov.munki.recipe b/Molotov/Molotov.munki.recipe index 06c42dd..0b5e114 100644 --- a/Molotov/Molotov.munki.recipe +++ b/Molotov/Molotov.munki.recipe @@ -38,15 +38,6 @@ com.github.ygini.download.Molotov Process - - Arguments - - archive_path - %pathname% - - Processor - Unarchiver - Arguments diff --git a/Molotov/Molotov.pkg.recipe b/Molotov/Molotov.pkg.recipe index 9326ff2..d1c9537 100644 --- a/Molotov/Molotov.pkg.recipe +++ b/Molotov/Molotov.pkg.recipe @@ -17,20 +17,11 @@ com.github.ygini.download.Molotov Process - - Arguments - - archive_path - %pathname% - - Processor - Unarchiver - Arguments app_path - %RECIPE_CACHE_DIR%/%NAME%/*.app + %RECIPE_CACHE_DIR%/%NAME%/Molotov.app Processor AppPkgCreator