24 lines
1.2 KiB
JSON
24 lines
1.2 KiB
JSON
{
|
|
"version": "13.6.0",
|
|
"url": "https://git.streichtech.ch/elexis/ee-iso-builder/releases/download/v13.6.0/ElexisEnvironment.iso#/ElexisEnvironment.dat",
|
|
"hash": "58fd7e00b7f4771fd4ee2165f3ebaff205cab780461340fc2c286f1b12faae90",
|
|
"installer": {
|
|
"script": "Copy-Item \"$dir\\$fname\" \"$HOME\\Downloads\\ElexisEnvironment.iso\" -Force"
|
|
},
|
|
"post_install": [
|
|
"$scoopCommand = (Get-Command scoop).Source",
|
|
"$cleanupCommand = \"Start-Sleep -Seconds 10; & '$scoopCommand' cleanup ee_iso --cache; & '$scoopCommand' uninstall ee_iso --purge\"",
|
|
"$cleanupBytes = [Text.Encoding]::Unicode.GetBytes($cleanupCommand)",
|
|
"$encodedCommand = [Convert]::ToBase64String($cleanupBytes)",
|
|
"Start-Process powershell.exe -WorkingDirectory $HOME -WindowStyle Hidden -ArgumentList @('-NoProfile', '-EncodedCommand', $encodedCommand)"
|
|
],
|
|
"checkver": {
|
|
"url": "https://git.streichtech.ch/api/v1/repos/elexis/ee-iso-builder/releases/latest",
|
|
"jsonpath": "$.tag_name",
|
|
"regex": "^v(?<version>[\\d.]+)$"
|
|
},
|
|
"autoupdate": {
|
|
"url": "https://git.streichtech.ch/elexis/ee-iso-builder/releases/download/v$version/ElexisEnvironment.iso#/ElexisEnvironment.dat"
|
|
}
|
|
}
|