소스 검색

Added install and pkg recipe

Dennis Juhler Aagaard 5 년 전
부모
커밋
f5c31b6ee0
2개의 변경된 파일72개의 추가작업 그리고 0개의 파일을 삭제
  1. 42 0
      OnlyOffice/ONLYOFFICE.install.recipe
  2. 30 0
      OnlyOffice/ONLYOFFICE.pkg.recipe

+ 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>