|
1 | 1 | { |
2 | | - "version": "1.5.0.0", |
| 2 | + "version": "1.0.6.0", |
3 | 3 | "description": "Tool to find silent switches for various software installers to enable unattended installations.", |
4 | | - "homepage": "https://www.softpedia.com/get/System/Launchers-Shutdown-Tools/Universal-Silent-Switch-Finder.shtml", |
| 4 | + "homepage": "https://www.appdeploynews.com/adn-silent-switch-finder/", |
5 | 5 | "license": "Freeware", |
6 | | - "url": "https://softpedia-secure-download.com/dl/7dab23a5ff71063ce5268b98dfa668ca/6941e878/100180984/software/system/ussf.exe", |
7 | | - "hash": "sha256:d9076bf31bcf4107b85d4bf368d752f6debe58f9cce8b50f0a50fece2243da38", |
8 | | - "bin": "ussf.exe", |
| 6 | + "url": "https://www.appdeploynews.com/downloads/ADN_Silent_Switch_Finder/ADN%20Silent%20Switch%20Finder1.0.6.0.exe", |
| 7 | + "hash": "sha256:374ac9a265b42127a50d0ac784e8bf86fde42fba71ae4096148b554579a0c453", |
| 8 | + "installer": { |
| 9 | + "script": [ |
| 10 | + "# Scoop downloads the file with a sanitized name", |
| 11 | + "# Find the downloaded .exe file and rename it", |
| 12 | + "$downloadedExe = Get-ChildItem -Path $dir -Filter \"*.exe\" | Select-Object -First 1", |
| 13 | + "if ($downloadedExe) {", |
| 14 | + " Write-Host \"Renaming '$($downloadedExe.Name)' to 'ADN-Silent-Switch-Finder.exe'\"", |
| 15 | + " Rename-Item -Path $downloadedExe.FullName -NewName \"ADN-Silent-Switch-Finder.exe\" -Force", |
| 16 | + "} else {", |
| 17 | + " Write-Error \"No .exe file found in $dir\"", |
| 18 | + "}" |
| 19 | + ] |
| 20 | + }, |
| 21 | + "bin": "ADN-Silent-Switch-Finder.exe", |
9 | 22 | "shortcuts": [ |
10 | 23 | [ |
11 | | - "ussf.exe", |
12 | | - "Universal Silent Switch Finder" |
| 24 | + "ADN-Silent-Switch-Finder.exe", |
| 25 | + "ADN Silent Switch Finder" |
13 | 26 | ] |
14 | 27 | ], |
15 | 28 | "checkver": { |
16 | | - "url": "https://www.softpedia.com/get/System/Launchers-Shutdown-Tools/Universal-Silent-Switch-Finder.shtml", |
17 | | - "regex": "Latest version:\\s+([\\d.]+)" |
| 29 | + "url": "https://www.appdeploynews.com/adn-silent-switch-finder/", |
| 30 | + "regex": "ADN Silent Switch Finder ([\\d.]+)" |
18 | 31 | }, |
19 | 32 | "autoupdate": { |
20 | | - "url": "https://softpedia-secure-download.com/dl/7dab23a5ff71063ce5268b98dfa668ca/6941e878/100180984/software/system/ussf.exe", |
| 33 | + "url": "https://www.appdeploynews.com/downloads/ADN_Silent_Switch_Finder/ADN%20Silent%20Switch%20Finder$version.exe", |
21 | 34 | "hash": { |
22 | 35 | "mode": "download" |
23 | 36 | } |
|
0 commit comments