Browse Source

Try to get dmg to work.

Dennis Juhler Aagaard 5 years ago
parent
commit
e73e0719ae
1 changed files with 7 additions and 2 deletions
  1. 7 2
      OnlyOffice/ONLYOFFICE.download.recipe

+ 7 - 2
OnlyOffice/ONLYOFFICE.download.recipe

@@ -32,7 +32,7 @@
 			<key>Arguments</key>
 			<dict>
 				<key>filename</key>
-				<string>%NAME%-%version%.dmg</string>
+				<string>%NAME%-%version%.zip</string>
 			</dict>
 			<key>Processor</key>
 			<string>URLDownloader</string>
@@ -45,12 +45,17 @@
 			<key>Arguments</key>
 			<dict>
 				<key>input_path</key>
-				<string>%pathname%/ONLYOFFICE.app</string>
+				<string>%pathname%/%NAME%.app</string>
 				<key>requirement</key>
 				<string>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")</string>
 			</dict>
+			<dict>
+				<key>dmg_path</key>
+				<string>%pathname%</string>
+			</dict>
 			<key>Processor</key>
 			<string>CodeSignatureVerifier</string>
+			<string>AppDmgVersioner</string>
 		</dict>
 	</array>
 </dict>