add jdownloader (official bootstrap JAR via Scoop Java): manifest, daily hash updater, install script, README

This commit is contained in:
Jonas8272 committed 2026-11-23 06:24:49 +00:00
1 parent a1dbe5e10a
commit 53b4e13857
6 files changed
+192

No files matched your search

+8
View File
@@ -115,6 +115,14 @@ if (-not $manifests) {
throw "No app manifests found in $bucketDir."
}
# Some apps (for example jdownloader) depend on packages from the official 'java' bucket
$needsJava = $manifests | Where-Object { (Get-Content -Path $_.FullName -Raw) -match '"depends"\s*:\s*"java/' }
if ($needsJava -and -not (scoop bucket list | Where-Object { $_.Name -eq 'java' })) {
Write-Host "Adding the 'java' bucket..." -ForegroundColor Cyan
scoop bucket add java
if ($LASTEXITCODE -ne 0) { throw "Failed to add the 'java' bucket." }
}
# 5. Install them ------------------------------------------------------------
$isAdmin = Test-Admin
$results = @()