Skip to content

Commit 0a5a683

Browse files
authored
Added test manifests
Signed-off-by: Andrew Poženel - SloDevTeam <andrew.pozenel@tutanota.com>
1 parent fc7792e commit 0a5a683

File tree

2 files changed

+85
-27
lines changed

2 files changed

+85
-27
lines changed

bucket/goldutil.json

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"version": "1.4.0",
3+
"description": "GoldSrc engine utilities for working with Half-Life, Counter-Strike, and other GoldSrc engine games.",
4+
"homepage": "https://github.com/L-P/goldutil",
5+
"license": "MIT",
6+
"architecture": {
7+
"64bit": {
8+
"url": "https://github.com/L-P/goldutil/releases/download/v1.4.0/goldutil-windows-amd64.zip",
9+
"hash": "sha256:dac4ac2450dbba7270bb96c61d580c84e00334783095c4b045eda275d11433b6"
10+
}
11+
},
12+
"bin": "goldutil.exe",
13+
"shortcuts": [
14+
[
15+
"goldutil.exe",
16+
"GoldUtil"
17+
]
18+
],
19+
"checkver": "github",
20+
"autoupdate": {
21+
"architecture": {
22+
"64bit": {
23+
"url": "https://github.com/L-P/goldutil/releases/download/v$version/goldutil-windows-amd64.zip"
24+
}
25+
},
26+
"hash": {
27+
"mode": "download"
28+
}
29+
},
30+
"notes": [
31+
"GoldUtil is a command-line tool for GoldSrc engine files.",
32+
"For usage instructions and commands, visit: https://l-p.github.io/goldutil/",
33+
"Common usage:",
34+
" goldutil --help Show all commands",
35+
" goldutil bsp info <map.bsp> Get BSP file information",
36+
" goldutil wad extract <texture.wad> Extract WAD textures"
37+
]
38+
}

bucket/jdownloader.json

Lines changed: 47 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,47 @@
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

Comments
 (0)