1- {
2- "version" : " nightly" ,
3- "description" : " Download management tool" ,
4- "homepage" : " https://jdownloader.org" ,
5- "license" : " Shareware|AGPL-3.0-only" ,
6- "suggest" : {
7- "JRE" : " java/temurin8-jre"
8- },
9- "url" : [
10- " http://installer.jdownloader.org/JDownloader.jar" ,
11- " http://jdownloader.org/lib/tpl/arctic/images/favicon.ico#/icon.ico"
12- ],
13- "pre_install" : " Set-Content \" $dir\\ JDownloader.bat\" '@start javaw.exe -jar \" %~dp0JDownloader.jar\" ' -Encoding Ascii" ,
14- "bin" : " JDownloader.jar" ,
15- "shortcuts" : [
16- [
17- " JDownloader.bat" ,
18- " JDownloader" ,
19- " " ,
20- " icon.ico"
21- ]
22- ],
23- "persist" : [
24- " cfg" ,
25- " logs"
26- ]
27- }
1+ {
2+ "version" : " latest" ,
3+ "description" : " Download management tool" ,
4+ "homepage" : " https://jdownloader.org" ,
5+ "license" : " AGPL-3.0-only" ,
6+ "suggest" : {
7+ "JRE" : [
8+ " java/temurin8-jre" ,
9+ " java/temurin11-jre" ,
10+ " java/temurin17-jre"
11+ ]
12+ },
13+ "url" : " http://installer.jdownloader.org/JDownloader.jar" ,
14+ "hash" : " sha1:4c08652614f9b3773f45a1a9dfae696c3756d6eb" ,
15+ "pre_install" : [
16+ " $iconPath = \" $dir\\ icon.ico\" " ,
17+ " if (!(Test-Path $iconPath)) {" ,
18+ " Invoke-WebRequest -Uri 'http://jdownloader.org/lib/tpl/arctic/images/favicon.ico' -OutFile $iconPath" ,
19+ " }" ,
20+ " Set-Content \" $dir\\ JDownloader.bat\" '@start javaw.exe -jar \" %~dp0JDownloader.jar\" ' -Encoding Ascii"
21+ ],
22+ "installer" : {
23+ "script" : [
24+ " if (!(Get-Command java -ErrorAction SilentlyContinue)) {" ,
25+ " Write-Host 'Java is required for JDownloader.' -ForegroundColor Yellow" ,
26+ " Write-Host 'Install it via: scoop install temurin8-jre' -ForegroundColor Yellow" ,
27+ " }"
28+ ]
29+ },
30+ "bin" : " JDownloader.bat" ,
31+ "shortcuts" : [
32+ [
33+ " JDownloader.bat" ,
34+ " JDownloader" ,
35+ " " ,
36+ " icon.ico"
37+ ]
38+ ],
39+ "persist" : [
40+ " cfg" ,
41+ " logs"
42+ ]
43+ "autoupdate" : {
44+ "note" : " JDownloader updates itself automatically. This manifest tracks the installer version." ,
45+ "url" : " http://installer.jdownloader.org/JDownloader.jar"
46+ }
47+ }
0 commit comments