fix und autoupdate für ee-iso

This commit is contained in:
Simon Daniel Streich
2026-07-15 17:36:41 +02:00
parent 3bc916b184
commit 872cab095c
3 changed files with 26 additions and 16 deletions
+2
View File
@@ -1,2 +1,4 @@
*.bak
*.exe
scripts/*
.forgejo/*
+23
View File
@@ -0,0 +1,23 @@
{
"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"
}
}
-15
View File
@@ -1,15 +0,0 @@
{
"version": "13.5.0",
"url": "https://git.streichtech.ch/elexis/ee-iso-builder/releases/download/v13.5.0/ElexisEnvironment.iso#/ElexisEnvironment.dat",
"installer": {
"script": [
"Rename-Item \"$dir\\ElexisEnvironment.dat\" \"ElexisEnvironment.iso\"",
"Copy-Item \"$dir\\ElexisEnvironment.iso\" \"$HOME\\Downloads\\ElexisEnvironment.iso\"",
"Remove-Item \"$dir\\ElexisEnvironment.iso\"",
"scoop uninstall ee_iso --purge"
]
},
"autoupdate": {
"url": "https://git.streichtech.ch/elexis/ee-iso-builder/releases/download/v$version/ElexisEnvironment.iso#/ElexisEnvironment.dat"
}
}