/
bandizip.json
76 lines (76 loc) · 3.07 KB
/
bandizip.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
{
"version": "7.25",
"description": "Yet another typical ZIP archiver",
"homepage": "http://www.bandisoft.com/bandizip/",
"license": {
"identifier": "Freeware",
"url": "https://en.bandisoft.com/bandizip/eula/"
},
"depends": "sudo",
"url": [
"http://dl.bandisoft.com/bandizip.std/BANDIZIP-SETUP-STD-ALL.EXE",
"https://pan.jiemi.workers.dev/?file=/scoop/Bandizip/Bandizip_v7.xx_x32-x64_Patch_20201104.7z#dl.7z_"
],
"hash": [
"b1fdb5813bb2a4642002bb2b7507dc0b364b8a2f5e316b45b3832c1807b8daa8",
"342325dd3c9212fce9b4dbf01d1009155110ea3078887a09304e4323f754686b"
],
"pre_install": [
"$7z=(Get-ChildItem $dir\\Bandizip_v7.xx_x32-x64_Patch*).Name",
"7z x -p2022 $dir\\$7z $('-o' + $dir) | Out-Null",
"if (!(Test-Path \"$persist_dir\\Bandizip.ini\")) { New-Item \"$dir\\Bandizip.ini\" | Out-Null }"
],
"architecture": {
"64bit": {
"installer": {
"script": [
"sudo Start-Process -filepath \"$dir\\BANDIZIP-SETUP-STD-ALL.EXE\" -WorkingDirectory \"$dir\" -ArgumentList \"/D:$dir /auto\" -Wait",
"sudo Start-Process -filepath \"$dir\\Bandizip.v7.xx.x64.Patch.20201104.exe\" -WorkingDirectory \"$dir\" -ArgumentList \"/silent\" -Wait | Out-Null"
]
},
"post_install": [
"Remove-Item $dir\\BANDIZIP-SETUP-STD-ALL.EXE, $dir\\*dl.7z_ -Force -ErrorAction SilentlyContinue",
"Remove-Item $dir\\Bandizip.v7.xx.x32.Patch* -Force -ErrorAction SilentlyContinue"
]
},
"32bit": {
"installer": {
"script": [
"sudo Start-Process -filepath \"$dir\\BANDIZIP-SETUP-STD-ALL.EXE\" -WorkingDirectory \"$dir\" -ArgumentList \"/D:$dir /auto\" -Wait",
"sudo Start-Process -filepath \"$dir\\Bandizip.v7.xx.x32.Patch.20201104.exe\" -WorkingDirectory \"$dir\" -ArgumentList \"/silent\" -Wait | Out-Null"
]
},
"post_install": [
"Remove-Item $dir\\BANDIZIP-SETUP-STD-ALL.EXE, $dir\\*dl.7z_ -Force -ErrorAction SilentlyContinue",
"Remove-Item $dir\\Bandizip.v7.xx.x64.Patch* -Force -ErrorAction SilentlyContinue"
]
}
},
"uninstaller": {
"script": [
"Push-Location \"$dir\"",
"sudo Start-Process -filepath \"$dir\\Uninstall.exe\" -WorkingDirectory \"$dir\" -ArgumentList \"/S\" -Wait",
"Write-Host \"You may need to restart the system to delete the directory.\" -Foreground Magenta",
"Pop-Location"
]
},
"bin": [
"Bandizip.exe",
"bz.exe"
],
"shortcuts": [
[
"Bandizip.exe",
"Bandizip"
]
],
"persist": "Bandizip.ini",
"env_add_path": ".",
"checkver": {
"url": "https://en.bandisoft.com/bandizip/history/",
"regex": "v([\\d.]+)</font"
},
"autoupdate": {
"url": "http://dl.bandisoft.com/bandizip.std/BANDIZIP-SETUP-STD-ALL.EXE"
}
}