-
Notifications
You must be signed in to change notification settings - Fork 1.4k
/
openoffice.json
53 lines (53 loc) · 1.91 KB
/
openoffice.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
{
"version": "4.1.15",
"description": "Office software suite for word processing, spreadsheets, presentations, graphics, databases and more",
"homepage": "https://www.openoffice.org",
"license": "Apache-2.0",
"url": "https://archive.apache.org/dist/openoffice/4.1.15/binaries/en-GB/Apache_OpenOffice_4.1.15_Win_x86_install_en-GB.exe#/dl.7z",
"hash": "sha512:2e57789c09c066458955698d3910133fbe599a635ea4118e9329ed3e7db0d8a68af1d0e065047fc5891d261e546e6083d6097ef47d38afa1669a2fde6a4846ba",
"pre_install": [
"$splat = @{ 'DestinationPath' = \"$dir\\App\" }",
"if (get_config USE_LESSMSI $false) { $splat.Add('ExtractDir', 'OpenOffice 4') }",
"(Get-ChildItem \"$dir\" 'openoffic*.msi').FullName | Expand-MsiArchive @splat",
"Get-ChildItem \"$dir\" -Exclude 'App' | Remove-Item -Recurse",
"Move-Item \"$dir\\App\\*\" \"$dir\" -Force",
"Remove-Item \"$dir\\App\" -Recurse"
],
"shortcuts": [
[
"program\\soffice.exe",
"OpenOffice\\OpenOffice"
],
[
"program\\sbase.exe",
"OpenOffice\\OpenOffice Base"
],
[
"program\\scalc.exe",
"OpenOffice\\OpenOffice Calc"
],
[
"program\\sdraw.exe",
"OpenOffice\\OpenOffice Draw"
],
[
"program\\simpress.exe",
"OpenOffice\\OpenOffice Impress"
],
[
"program\\smath.exe",
"OpenOffice\\OpenOffice Math"
],
[
"program\\swriter.exe",
"OpenOffice\\OpenOffice Writer"
]
],
"checkver": "Apache OpenOffice ([\\d.]+) released",
"autoupdate": {
"url": "https://archive.apache.org/dist/openoffice/$version/binaries/en-GB/Apache_OpenOffice_$version_Win_x86_install_en-GB.exe#/dl.7z",
"hash": {
"url": "$url.sha512"
}
}
}