Sfoglia il codice sorgente

Back to basic again

Dennis Juhler Aagaard 5 anni fa
parent
commit
eb7911d5c9

+ 1 - 6
OnlyOffice/ONLYOFFICE.download.recipe

@@ -45,17 +45,12 @@
 			<key>Arguments</key>
 			<dict>
 				<key>input_path</key>
-				<string>%pathname%/%NAME%.app</string>
+				<string>%pathname%/ONLYOFFICE.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>

+ 42 - 0
OnlyOffice/ONLYOFFICE.install.recipe

@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+	<key>Comment</key>
+	<string>Created with Recipe Robot v1.2.1 (https://github.com/homebysix/recipe-robot)</string>
+	<key>Description</key>
+	<string>Installs the latest version of ONLYOFFICE.</string>
+	<key>Identifier</key>
+	<string>com.github.solutiogruppen.install.ONLYOFFICE</string>
+	<key>Input</key>
+	<dict>
+		<key>NAME</key>
+		<string>ONLYOFFICE</string>
+	</dict>
+	<key>MinimumVersion</key>
+	<string>1.0.0</string>
+	<key>ParentRecipe</key>
+	<string>com.github.solutiogruppen.download.ONLYOFFICE</string>
+	<key>Process</key>
+	<array>
+		<dict>
+			<key>Arguments</key>
+			<dict>
+				<key>dmg_path</key>
+				<string>%pathname%</string>
+				<key>items_to_copy</key>
+				<array>
+					<dict>
+						<key>destination_path</key>
+						<string>/Applications</string>
+						<key>source_item</key>
+						<string>ONLYOFFICE.app</string>
+					</dict>
+				</array>
+			</dict>
+			<key>Processor</key>
+			<string>InstallFromDMG</string>
+		</dict>
+	</array>
+</dict>
+</plist>

+ 30 - 0
OnlyOffice/ONLYOFFICE.pkg.recipe

@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+	<key>Comment</key>
+	<string>Created with Recipe Robot v1.2.1 (https://github.com/homebysix/recipe-robot)</string>
+	<key>Description</key>
+	<string>Downloads the latest version of ONLYOFFICE and creates a package.</string>
+	<key>Identifier</key>
+	<string>com.github.solutiogruppen.pkg.ONLYOFFICE</string>
+	<key>Input</key>
+	<dict>
+		<key>BUNDLE_ID</key>
+		<string>asc.onlyoffice.ONLYOFFICE</string>
+		<key>NAME</key>
+		<string>ONLYOFFICE</string>
+	</dict>
+	<key>MinimumVersion</key>
+	<string>1.0.0</string>
+	<key>ParentRecipe</key>
+	<string>com.github.solutiogruppen.download.ONLYOFFICE</string>
+	<key>Process</key>
+	<array>
+		<dict>
+			<key>Processor</key>
+			<string>AppPkgCreator</string>
+		</dict>
+	</array>
+</dict>
+</plist>