Răsfoiți Sursa

Initial installation of libreoffice-all having all languages included

Miroslav Abrahám 3 ani în urmă
părinte
comite
fc978bb44c
1 a modificat fișierele cu 64 adăugiri și 0 ștergeri
  1. 64 0
      bucket/libreoffice-all.json

+ 64 - 0
bucket/libreoffice-all.json

@@ -0,0 +1,64 @@
+{
+    "version": "7.2.5",
+    "description": "Powerful office suite",
+    "homepage": "https://libreoffice.org/",
+    "license": "MPL-2.0",
+    "suggest": {
+        "vcredist": "extras/vcredist2015"
+    },
+    "url": "https://downloadarchive.documentfoundation.org/libreoffice/old/7.2.5.2/portable/LibreOfficePortable_7.2.5_MultilingualAll.paf.exe#/dl.7z",
+    "hash": "4e4585467b118d8435c80f7e572d3a33f4f379b9fb38aca4c539930a03166aca",
+    "pre_install": [
+        "if (!(Test-Path \"$persist_dir\\Data\\settings\")) {",
+        "    New-Item \"$dir\\Data\\settings\\LibreOfficePortableSettings.ini\" -Value \"[LibreOfficePortableSettings]`nInvalidPackageWarningShown=$version.0\" -Force | Out-Null",
+        "    if (Test-Path \"$env:AppData\\LibreOffice\") {",
+        "        info \"Copying old '$env:AppData\\LibreOffice' to '$persist_dir\\Data\\settings'\"",
+        "        Get-Item \"$env:AppData\\LibreOffice\\*\\*\" | Copy-Item -Destination \"$dir\\Data\\settings\" -Recurse -Force",
+        "    } else {",
+        "        Copy-Item \"$dir\\App\\DefaultData\\*\" \"$dir\\Data\" -Recurse -Force",
+        "    }",
+        "}",
+        "Remove-Item \"$dir\\`$*\" -Recurse -Force"
+    ],
+    "shortcuts": [
+        [
+            "LibreOfficePortable.exe",
+            "LibreOffice\\LibreOffice"
+        ],
+        [
+            "LibreOfficeBasePortable.exe",
+            "LibreOffice\\LibreOffice Base"
+        ],
+        [
+            "LibreOfficeCalcPortable.exe",
+            "LibreOffice\\LibreOffice Calc"
+        ],
+        [
+            "LibreOfficeDrawPortable.exe",
+            "LibreOffice\\LibreOffice Draw"
+        ],
+        [
+            "LibreOfficeImpressPortable.exe",
+            "LibreOffice\\LibreOffice Impress"
+        ],
+        [
+            "LibreOfficeMathPortable.exe",
+            "LibreOffice\\LibreOffice Math"
+        ],
+        [
+            "LibreOfficeWriterPortable.exe",
+            "LibreOffice\\LibreOffice Writer"
+        ]
+    ],
+    "persist": "Data",
+    "checkver": {
+        "url": "https://download.documentfoundation.org/libreoffice/portable/?C=M;O=D",
+        "regex": ">([\\d.]+)/<"
+    },
+    "autoupdate": {
+        "url": "https://downloadarchive.documentfoundation.org/libreoffice/old/$version.2/portable/LibreOfficePortable_$version_MultilingualAll.paf.exe#/dl.7z",
+        "hash": {
+            "url": "$url.sha256"
+        }
+    }
+}