forked from Ash258/Shovel-Ash258
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPrivacyEraser.json
65 lines (65 loc) · 2.46 KB
/
PrivacyEraser.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
{
"version": "5.12.3.3921",
"description": "Privacy Eraser. Internet history, browsing history and past computer activities cleaner",
"homepage": "https://www.cybertronsoft.com/products/privacy-eraser/",
"license": "Freeware",
"url": "https://www.cybertronsoft.com/download/privacy-eraser-portable.zip",
"hash": "fdd9da22ccf115392d69e13360eeb8c6823b07c6fabe6b23ee1cdce0cef9d14e",
"pre_install": [
"$file = 'Config.xml'",
"if (-not (Test-Path \"$persist_dir\\$file\")) {",
" Write-Host 'File' $file 'does not exists. Creating.' -f Yellow",
" $delimeter = \"`r`n\"",
" $entryTemplate = ' <Item id=\"%%key%%\" value=\"%%value%%\"/>'",
" $start = @('<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\" ?>', '<PrivacyEraser>', ' <Settings>')",
" $end = @(' </Settings>', '</PrivacyEraser>')",
" $ents = $()",
" $entries = @{",
" 'SET_LOAD_AT_WINDOWS_STARTUP' = 'False'",
" 'SET_AUTO_CLEAN_AT_WINDOWS_STARTUP' = 'False'",
" 'SET_AUTOMATICALLY_CHECK_FOR_UPDATES' = 'False'",
" }",
" foreach ($entry in $entries.Keys) {",
" $ents += , ($entryTemplate -replace '%%key%%', $entry) -replace '%%value%%', $entries.Item($entry)",
" }",
" # Create file string",
" $finalFile = $start -join $delimeter",
" $finalFile += $delimeter",
" $finalFile += $ents -join $delimeter",
" $finalFile += $delimeter",
" $finalFile += $end -join $delimeter",
" # Set File",
" Set-Content \"$dir\\$file\" $finalFile -Encoding Ascii",
"}"
],
"architecture": {
"64bit": {
"shortcuts": [
[
"PrivacyEraser64.exe",
"Privacy Eraser"
]
]
},
"32bit": {
"shortcuts": [
[
"PrivacyEraser.exe",
"Privacy Eraser"
]
]
}
},
"persist": [
"Registry Backups",
"Config.xml",
"Portable.xml"
],
"checkver": {
"url": "https://www.cybertronsoft.com/download/privacy-eraser/update.xml",
"xpath": "/PrivacyEraser/Version"
},
"autoupdate": {
"url": "https://www.cybertronsoft.com/download/privacy-eraser-portable.zip"
}
}