/
windows-update-viewer.json
53 lines (53 loc) · 2.15 KB
/
windows-update-viewer.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": "0.6.0",
"description": "Windows Update Viewer (WUView) is an application that displays Windows Update history.",
"homepage": "https://github.com/Timthreetwelve/WUView",
"license": "GPL-3.0-or-later",
"architecture": {
"64bit": {
"url": "https://github.com/Timthreetwelve/WUView/releases/download/v0.6.0/WindowsUpdateViewer_0.6.0.0_SC_x64_Portable.zip",
"hash": "adae7411f6150a8c599e1eb1af7291ca7fd861100738e3e5c16f418385fbcb9c"
},
"32bit": {
"url": "https://github.com/Timthreetwelve/WUView/releases/download/v0.6.0/WindowsUpdateViewer_0.6.0.0_SC_x86_Portable.zip",
"hash": "0716b5588cf59c133f205932dff85f1bf7def6ee899a574a1f4146f70d75e6f7"
}
},
"extract_dir": "Windows Update Viewer",
"pre_install": [
"$userSetting = 'usersettings.json'",
"if (!(Test-Path \"$persist_dir\\$userSetting\")) {",
" Write-Host 'File' $userSetting 'does not exists. Creating.' -f Yellow",
" $CONT = @('{\"HideExcluded\": true}')",
" Set-Content \"$dir\\$userSetting\" ($CONT -join \"`r`n\") -Encoding UTF-8",
"}",
"$excludes = 'WUViewExcludes.json'",
"if (!(Test-Path \"$persist_dir\\$excludes\")) {",
" Write-Host 'File' $excludes 'does not exists. Creating.' -f Yellow",
" $CONT = @('[{\"ExcludedString\": \"Defender\"}]')",
" Set-Content \"$dir\\$excludes\" ($CONT -join \"`r`n\") -Encoding UTF-8",
"}"
],
"bin": "WUView.exe",
"shortcuts": [
[
"WUView.exe",
"Windows Update Viewer"
]
],
"persist": [
"usersettings.json",
"WUViewExcludes.json"
],
"checkver": "github",
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/Timthreetwelve/WUView/releases/download/v$version/WindowsUpdateViewer_$version.0_SC_x64_Portable.zip"
},
"32bit": {
"url": "https://github.com/Timthreetwelve/WUView/releases/download/v$version/WindowsUpdateViewer_$version.0_SC_x86_Portable.zip"
}
}
}
}