/
libreoffice-cn.json
88 lines (88 loc) 路 3.78 KB
/
libreoffice-cn.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
{
"version": "24.2.2",
"description": "Powerful and free office suite, a successor to OpenOffice(.org).",
"homepage": "https://libreoffice.org/",
"license": "MPL-2.0",
"suggest": {
"Visual C++ Redistributable 2015-2022": "extras/vcredist2022"
},
"notes": "If you are upgrading from portable version, you can migrate settings by copying \"$persist_dir\\Data\" to \"%AppData%\\LibreOffice\"",
"architecture": {
"64bit": {
"url": "https://mirrors.bfsu.edu.cn/libreoffice/libreoffice/stable/24.2.2/win/x86_64/LibreOffice_24.2.2_Win_x86-64.msi#/dl.msi_",
"hash": "a7251bca75603c3075477d090e17931dbeff32eb18808421d540fe5b21497a5f"
},
"32bit": {
"url": "https://mirrors.bfsu.edu.cn/libreoffice/libreoffice/stable/24.2.2/win/x86/LibreOffice_24.2.2_Win_x86.msi#/dl.msi_",
"hash": "17b796ed35f73699635383e157b2a9d2c9401a73097c5db501242441c43e4cda"
},
"arm64": {
"url": "https://mirrors.bfsu.edu.cn/libreoffice/libreoffice/stable/24.2.2/win/aarch64/LibreOffice_24.2.2_Win_aarch64.msi#/dl.msi_",
"hash": "ba82b5c1d30ae2a18e1baffd5aa6ef5b9c4454c5db84698535b38b8d86ef0cb7"
}
},
"pre_install": [
"# keeping files in 'LibreOffice' directory so that bundled font can work properly",
"ensure \"$dir\\LibreOffice\\share\\fonts\" | Out-Null",
"# usage: get_config ($name, $default). $default ==> set to what value if the value is empty (not being set before)",
"if (get_config USE_LESSMSI $false) {",
" # if 'use_lessmsi' is true",
" Expand-MsiArchive \"$dir\\dl.msi_\" \"$dir\" | Out-Null",
" Move-Item \"$dir\\Fonts\" \"$dir\\LibreOffice\\share\\fonts\\truetype\" -Force",
" Remove-Item \"$dir\\System*\" -Recurse -Force",
"} else {",
" # if 'use_lessmsi' is false or not set",
" Expand-MsiArchive \"$dir\\dl.msi_\" \"$dir\\LibreOffice\" | Out-Null",
" Expand-MsiArchive \"$dir\\dl.msi_\" \"$dir\\LibreOffice\\share\\fonts\\truetype\" -ExtractDir 'Fonts' | Out-Null",
" Remove-Item \"$dir\\LibreOffice\\Fonts\", \"$dir\\LibreOffice\\System*\" -Recurse -Force",
"}",
"Remove-Item \"$dir\\dl.msi_\""
],
"shortcuts": [
[
"LibreOffice\\program\\soffice.exe",
"LibreOffice\\LibreOffice"
],
[
"LibreOffice\\program\\sbase.exe",
"LibreOffice\\LibreOffice Base"
],
[
"LibreOffice\\program\\scalc.exe",
"LibreOffice\\LibreOffice Calc"
],
[
"LibreOffice\\program\\sdraw.exe",
"LibreOffice\\LibreOffice Draw"
],
[
"LibreOffice\\program\\simpress.exe",
"LibreOffice\\LibreOffice Impress"
],
[
"LibreOffice\\program\\smath.exe",
"LibreOffice\\LibreOffice Math"
],
[
"LibreOffice\\program\\swriter.exe",
"LibreOffice\\LibreOffice Writer"
]
],
"checkver": {
"url": "https://zh-cn.libreoffice.org/download/libreoffice/",
"regex": "LibreOffice ([\\d.]+)"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://mirrors.bfsu.edu.cn/libreoffice/libreoffice/stable/$version/win/x86_64/LibreOffice_$version_Win_x86-64.msi#/dl.msi_"
},
"32bit": {
"url": "https://mirrors.bfsu.edu.cn/libreoffice/libreoffice/stable/$version/win/x86/LibreOffice_$version_Win_x86.msi#/dl.msi_"
},
"arm64": {
"url": "https://mirrors.bfsu.edu.cn/libreoffice/libreoffice/stable/$version/win/aarch64/LibreOffice_$version_Win_aarch64.msi#/dl.msi_"
}
}
}
}