1
0

libreoffice-all.json 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. {
  2. "version": "7.2.5",
  3. "description": "Powerful office suite",
  4. "homepage": "https://libreoffice.org/",
  5. "license": "MPL-2.0",
  6. "suggest": {
  7. "vcredist": "extras/vcredist2015"
  8. },
  9. "url": "https://downloadarchive.documentfoundation.org/libreoffice/old/7.2.5.2/portable/LibreOfficePortable_7.2.5_MultilingualAll.paf.exe#/dl.7z",
  10. "hash": "4e4585467b118d8435c80f7e572d3a33f4f379b9fb38aca4c539930a03166aca",
  11. "pre_install": [
  12. "if (!(Test-Path \"$persist_dir\\Data\\settings\")) {",
  13. " New-Item \"$dir\\Data\\settings\\LibreOfficePortableSettings.ini\" -Value \"[LibreOfficePortableSettings]`nInvalidPackageWarningShown=$version.0\" -Force | Out-Null",
  14. " if (Test-Path \"$env:AppData\\LibreOffice\") {",
  15. " info \"Copying old '$env:AppData\\LibreOffice' to '$persist_dir\\Data\\settings'\"",
  16. " Get-Item \"$env:AppData\\LibreOffice\\*\\*\" | Copy-Item -Destination \"$dir\\Data\\settings\" -Recurse -Force",
  17. " } else {",
  18. " Copy-Item \"$dir\\App\\DefaultData\\*\" \"$dir\\Data\" -Recurse -Force",
  19. " }",
  20. "}",
  21. "Remove-Item \"$dir\\`$*\" -Recurse -Force"
  22. ],
  23. "shortcuts": [
  24. [
  25. "LibreOfficePortable.exe",
  26. "LibreOffice\\LibreOffice"
  27. ],
  28. [
  29. "LibreOfficeBasePortable.exe",
  30. "LibreOffice\\LibreOffice Base"
  31. ],
  32. [
  33. "LibreOfficeCalcPortable.exe",
  34. "LibreOffice\\LibreOffice Calc"
  35. ],
  36. [
  37. "LibreOfficeDrawPortable.exe",
  38. "LibreOffice\\LibreOffice Draw"
  39. ],
  40. [
  41. "LibreOfficeImpressPortable.exe",
  42. "LibreOffice\\LibreOffice Impress"
  43. ],
  44. [
  45. "LibreOfficeMathPortable.exe",
  46. "LibreOffice\\LibreOffice Math"
  47. ],
  48. [
  49. "LibreOfficeWriterPortable.exe",
  50. "LibreOffice\\LibreOffice Writer"
  51. ]
  52. ],
  53. "persist": "Data",
  54. "checkver": {
  55. "url": "https://download.documentfoundation.org/libreoffice/portable/?C=M;O=D",
  56. "regex": ">([\\d.]+)/<"
  57. },
  58. "autoupdate": {
  59. "url": "https://downloadarchive.documentfoundation.org/libreoffice/old/$version.2/portable/LibreOfficePortable_$version_MultilingualAll.paf.exe#/dl.7z",
  60. "hash": {
  61. "url": "$url.sha256"
  62. }
  63. }
  64. }