|
1 | 1 | { |
2 | | - "version": "1.0.3.6", |
| 2 | + "version": "1.0.3.7", |
3 | 3 | "description": "Utility that will monitor and clear the memory standby list when it is > 1000mb (1gb).", |
4 | | - "homepage": "https://www.wagnardsoft.com/ISLCw", |
| 4 | + "homepage": "https://www.wagnardsoft.com/intelligent-standby-list-cleaner", |
5 | 5 | "license": "Unknown", |
6 | | - "url": "https://www.wagnardsoft.com/ISLC/ISLC%20v1.0.3.6.exe#/dl.7z", |
7 | | - "hash": "426c85679c29d85ed81b785d309b5501ba270b3c2e84ac8139385b4b768bafe2", |
8 | | - "extract_dir": "ISLC v1.0.3.6", |
| 6 | + "url": "https://www.wagnardsoft.com/ISLC/ISLC%20v1.0.3.7.exe#/dl.7z", |
| 7 | + "hash": "d5edce80fd828169d5a4e03b3e57daf78dd30458cec48685641928e17748e4eb", |
| 8 | + "extract_dir": "ISLC v1.0.3.7", |
9 | 9 | "shortcuts": [ |
10 | 10 | [ |
11 | 11 | "Intelligent standby list cleaner ISLC.exe", |
12 | 12 | "Intelligent Standby List Cleaner (ISLC)" |
13 | 13 | ] |
14 | 14 | ], |
15 | | - "persist": "Intelligent standby list cleaner ISLC.exe.Config", |
16 | | - "checkver": "Intelligent standby list cleaner \\(ISLC\\) (?:v|V)?([\\d.]+)", |
| 15 | + "pre_install": [ |
| 16 | + "if (-not (Test-Path \"$persist_dir\\config.json\")) {", |
| 17 | + " $cfg = [ordered]@{ 'StandbyListValue' = '1024'; 'FreeMemoryValue' = '1024'; 'StartMinimized' = $false; 'AlwaysOnTop' = $false; 'TaskScheduler' = $false; 'CustomTimer' = $false; 'WantedResolution' = 1.0; 'PollingRateSTR' = '1000'; 'ExclusionList' = @(); }", |
| 18 | + " Set-Content -Path \"$dir\\config.json\" -Value $(ConvertTo-Json -InputObject $cfg) -Encoding Ascii | Out-Null", |
| 19 | + "}" |
| 20 | + ], |
| 21 | + "persist": "config.json", |
| 22 | + "checkver": { |
| 23 | + "regex": "Intelligent standby list cleaner \\(ISLC\\) (?:[vV])?([\\d\\.]+)</a>" |
| 24 | + }, |
17 | 25 | "autoupdate": { |
18 | 26 | "url": "https://www.wagnardsoft.com/ISLC/ISLC%20v$version.exe#/dl.7z", |
19 | 27 | "hash": { |
20 | | - "url": "https://www.wagnardsoft.com/content/Intelligent-standby-list-cleaner-ISLC-v$cleanVersion-Released", |
21 | | - "regex": "SHA1:\\s+$sha1" |
| 28 | + "url": "https://www.wagnardsoft.com/content/Download-Intelligent-standby-list-cleaner-ISLC-$cleanVersion", |
| 29 | + "regex": "SHA-256:\\s+$sha256" |
22 | 30 | }, |
23 | 31 | "extract_dir": "ISLC v$version" |
24 | 32 | } |
|
0 commit comments