mirror of
https://codefloe.com/Jonas8272/scoop-bucket.git
synced 2026-11-30 23:09:35 +00:00
add jdownloader (official bootstrap JAR via Scoop Java): manifest, daily hash updater, install script, README
This commit is contained in:
1 parent
a1dbe5e10a
commit
53b4e13857
6 files changed
+192
No files matched your search
@@ -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 = @()
|
||||
|
||||
Reference in new issue
Block a user