generated from ScoopInstaller/BucketTemplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
libreoffice.json
91 lines (91 loc) · 3.8 KB
/
libreoffice.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
89
90
91
{
"version": "24.2.4",
"description": "Powerful and free office suite, a successor to OpenOffice(.org).",
"homepage": "https://libreoffice.org/",
"license": "MPL-2.0",
"suggest": {
"vcredist": "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.ustc.edu.cn/tdf/libreoffice/stable/24.2.4/win/x86_64/LibreOffice_24.2.4_Win_x86-64.msi#/dl.msi_",
"hash": "23dde11f10fc4ec4fac592d50a2448331fa9bedc68ae4ee39ed63201032d0d6d"
},
"32bit": {
"url": "https://mirrors.ustc.edu.cn/tdf/libreoffice/stable/24.2.4/win/x86/LibreOffice_24.2.4_Win_x86.msi#/dl.msi_",
"hash": "fbcb2b4b4cd12a357a9d47f7ae9f52ba2e738405c727d5bcfdc5fe6dbe515c55"
},
"arm64": {
"url": "https://mirrors.ustc.edu.cn/tdf/libreoffice/stable/24.2.4/win/aarch64/LibreOffice_24.2.4_Win_aarch64.msi#/dl.msi_",
"hash": "017f85678ea8731020a3c2189b712c9c9d375fe032564ab744d5c650015c3ece"
}
},
"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://wiki.documentfoundation.org/Main_Page",
"regex": "LibreOffice ([\\d.]+) is our latest, feature-rich release."
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://mirrors.ustc.edu.cn/tdf/libreoffice/stable/$version/win/x86_64/LibreOffice_$version_Win_x86-64.msi#/dl.msi_"
},
"32bit": {
"url": "https://mirrors.ustc.edu.cn/tdf/libreoffice/stable/$version/win/x86/LibreOffice_$version_Win_x86.msi#/dl.msi_"
},
"arm64": {
"url": "https://mirrors.ustc.edu.cn/tdf/libreoffice/stable/$version/win/aarch64/LibreOffice_$version_Win_aarch64.msi#/dl.msi_"
}
},
"hash": {
"url": "$url.sha256"
}
}
}