Compare commits
10
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6be767645d | ||
|
|
872cab095c | ||
|
|
3bc916b184 | ||
|
|
492e071f20 | ||
|
|
79463b7a72 | ||
|
|
a2e1c16128 | ||
|
|
dd8ad5e1b7 | ||
|
|
f66b8a6aa6 | ||
|
|
fbb9e29f9c | ||
|
|
c424f41b9f |
@@ -1 +1,5 @@
|
||||
*.bak
|
||||
*.exe
|
||||
scripts/*
|
||||
.forgejo/*
|
||||
.vscode/*
|
||||
@@ -1,11 +0,0 @@
|
||||
{
|
||||
"version": "1.0.0",
|
||||
"description": "Configuration for Element (Matrix Chat) for Medelexis.",
|
||||
"url": "https://git.streichtech.ch/elexis/scoop/raw/branch/master/config/matrix/medelexis/config.json#/config.json",
|
||||
"hash": "5aa0e674ea7455ee41646307b95bc953d13ec3b7eb62a3f193edc15d6d4966ea",
|
||||
"post_install": [
|
||||
"$configDir = Join-Path $env:APPDATA 'Element'",
|
||||
"New-Item -ItemType Directory -Force -Path $configDir | Out-Null",
|
||||
"Copy-Item (Join-Path $dir 'config.json') (Join-Path $configDir 'config.json') -Force"
|
||||
]
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
{
|
||||
"version": "1.0.0",
|
||||
"url": "https://download.medelexis.ch/myelexis-cli/windows/myelexis-cli-1.0.0-SNAPSHOT-runner.exe#/myelexis-cli.exe",
|
||||
"hash": "sha256:ea1258d043be5b45ef0ba1d68306eb3365e6a6b6243f26610351e20d38fdb9a1",
|
||||
"bin": [
|
||||
["myelexis-cli.exe", "ee"],
|
||||
["myelexis-cli.exe", "es"]
|
||||
]
|
||||
}
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,67 @@
|
||||
{
|
||||
"version": "20241018T145846Z",
|
||||
"description": "Elexis 3.10",
|
||||
"url": "https://download.medelexis.ch/medelexis/3.10/products/ch.medelexis.application.product.Medelexis-win32.win32.x86_64-signed.zip#/Elexis-20241018T145846Z.zip",
|
||||
"hash": "de4dafd270a875ceebdce054941b7c136d3a1853f0b6c4cf6cef3398e4db9228",
|
||||
"bin": [
|
||||
[
|
||||
"Medelexis.exe",
|
||||
"e10",
|
||||
"-console"
|
||||
]
|
||||
],
|
||||
"shortcuts": [
|
||||
[
|
||||
"Medelexis.exe",
|
||||
"Elexis 3.10",
|
||||
"-console"
|
||||
],
|
||||
[
|
||||
"Medelexis.ini",
|
||||
"ini 3.10"
|
||||
]
|
||||
],
|
||||
"post_install": [
|
||||
"$iniPath = \"$persist_dir\\Medelexis.ini\"",
|
||||
"$ini = Get-Content $iniPath",
|
||||
"$insert = @('-Dprovisioning.UpdateRepository=3.10', '-DopenDBWizard', '-Dfop.printing.debug=true')",
|
||||
"$missing = @($insert | Where-Object { $_ -notin $ini })",
|
||||
"if ($missing.Count -gt 0) {",
|
||||
" $vmargs = $ini | Select-String '^-vmargs$' | Select-Object -First 1",
|
||||
" if (-not $vmargs) { throw '-vmargs wurde in Medelexis.ini nicht gefunden.' }",
|
||||
" $index = $vmargs.LineNumber",
|
||||
" $before = $ini[0..($index - 1)]",
|
||||
" $after = if ($index -lt $ini.Count) { $ini[$index..($ini.Count - 1)] } else { @() }",
|
||||
" $ini = @($before) + $missing + @($after)",
|
||||
" Set-Content $iniPath $ini",
|
||||
"}"
|
||||
],
|
||||
"persist": [
|
||||
"Medelexis.ini",
|
||||
"workspace\\.metadata\\.plugins\\org.eclipse.e4.workbench"
|
||||
],
|
||||
"notes": [
|
||||
"Elexis 3.10 wurde installiert.",
|
||||
"",
|
||||
"INI wurde mit Repo-Eintrag, DB-Abfrage und FOP-Debug ergänzt.",
|
||||
"Programm startet mit Konsole.",
|
||||
"",
|
||||
"Konsolenbefehle:",
|
||||
"-> e10 = Start Elexis 3.10"
|
||||
],
|
||||
"checkver": {
|
||||
"url": "https://download.medelexis.ch/medelexis/3.10/products/",
|
||||
"script": [
|
||||
"$fileUrl = 'https://download.medelexis.ch/medelexis/3.10/products/ch.medelexis.application.product.Medelexis-win32.win32.x86_64-signed.zip'",
|
||||
"$response = Invoke-WebRequest -Uri $fileUrl -Method Head -UseBasicParsing",
|
||||
"$lastModified = [string]$response.Headers['Last-Modified']",
|
||||
"if ([string]::IsNullOrWhiteSpace($lastModified)) { throw 'Kein Last-Modified-Header vorhanden.' }",
|
||||
"$date = [DateTimeOffset]::ParseExact($lastModified, 'R', [Globalization.CultureInfo]::InvariantCulture)",
|
||||
"$date.UtcDateTime.ToString(\"yyyyMMdd'T'HHmmss'Z'\")"
|
||||
],
|
||||
"regex": "(?<version>\\d{8}T\\d{6}Z)"
|
||||
},
|
||||
"autoupdate": {
|
||||
"url": "https://download.medelexis.ch/medelexis/3.10/products/ch.medelexis.application.product.Medelexis-win32.win32.x86_64-signed.zip#/Elexis-$version.zip"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,67 @@
|
||||
{
|
||||
"version": "20260601T081039Z",
|
||||
"description": "Elexis 3.12",
|
||||
"url": "https://download.medelexis.ch/medelexis/3.12/products/ch.medelexis.application.product.Medelexis-win32.win32.x86_64-signed.zip#/Elexis-20260601T081039Z.zip",
|
||||
"hash": "dc19c40dd1bcd66a6d823c1a59ced571542fe34a3e6c58e710f055cdbcc7ed38",
|
||||
"bin": [
|
||||
[
|
||||
"Medelexis.exe",
|
||||
"e12",
|
||||
"-console"
|
||||
]
|
||||
],
|
||||
"shortcuts": [
|
||||
[
|
||||
"Medelexis.exe",
|
||||
"Elexis 3.12",
|
||||
"-console"
|
||||
],
|
||||
[
|
||||
"Medelexis.ini",
|
||||
"ini 3.12"
|
||||
]
|
||||
],
|
||||
"post_install": [
|
||||
"$iniPath = \"$persist_dir\\Medelexis.ini\"",
|
||||
"$ini = Get-Content $iniPath",
|
||||
"$insert = @('-Dprovisioning.UpdateRepository=3.12', '-DopenDBWizard', '-Dfop.printing.debug=true')",
|
||||
"$missing = @($insert | Where-Object { $_ -notin $ini })",
|
||||
"if ($missing.Count -gt 0) {",
|
||||
" $vmargs = $ini | Select-String '^-vmargs$' | Select-Object -First 1",
|
||||
" if (-not $vmargs) { throw '-vmargs wurde in Medelexis.ini nicht gefunden.' }",
|
||||
" $index = $vmargs.LineNumber",
|
||||
" $before = $ini[0..($index - 1)]",
|
||||
" $after = if ($index -lt $ini.Count) { $ini[$index..($ini.Count - 1)] } else { @() }",
|
||||
" $ini = @($before) + $missing + @($after)",
|
||||
" Set-Content $iniPath $ini",
|
||||
"}"
|
||||
],
|
||||
"persist": [
|
||||
"Medelexis.ini",
|
||||
"workspace\\.metadata\\.plugins\\org.eclipse.e4.workbench"
|
||||
],
|
||||
"notes": [
|
||||
"Elexis 3.12 wurde installiert.",
|
||||
"",
|
||||
"INI wurde mit Repo-Eintrag, DB-Abfrage und FOP-Debug ergänzt.",
|
||||
"Programm startet mit Konsole.",
|
||||
"",
|
||||
"Konsolenbefehle:",
|
||||
"-> e12 = Start Elexis 3.12"
|
||||
],
|
||||
"checkver": {
|
||||
"url": "https://download.medelexis.ch/medelexis/3.12/products/",
|
||||
"script": [
|
||||
"$fileUrl = 'https://download.medelexis.ch/medelexis/3.12/products/ch.medelexis.application.product.Medelexis-win32.win32.x86_64-signed.zip'",
|
||||
"$response = Invoke-WebRequest -Uri $fileUrl -Method Head -UseBasicParsing",
|
||||
"$lastModified = [string]$response.Headers['Last-Modified']",
|
||||
"if ([string]::IsNullOrWhiteSpace($lastModified)) { throw 'Kein Last-Modified-Header vorhanden.' }",
|
||||
"$date = [DateTimeOffset]::ParseExact($lastModified, 'R', [Globalization.CultureInfo]::InvariantCulture)",
|
||||
"$date.UtcDateTime.ToString(\"yyyyMMdd'T'HHmmss'Z'\")"
|
||||
],
|
||||
"regex": "(?<version>\\d{8}T\\d{6}Z)"
|
||||
},
|
||||
"autoupdate": {
|
||||
"url": "https://download.medelexis.ch/medelexis/3.12/products/ch.medelexis.application.product.Medelexis-win32.win32.x86_64-signed.zip#/Elexis-$version.zip"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,67 @@
|
||||
{
|
||||
"version": "20260629T074811Z",
|
||||
"description": "Elexis 3.13",
|
||||
"url": "https://download.medelexis.ch/medelexis/3.13/products/ch.medelexis.application.product.Medelexis-win32.win32.x86_64-signed.zip#/Elexis-20260629T074811Z.zip",
|
||||
"hash": "6180ed7b1efae077e506c2e6d3ce9f2f8a4d88e33f24cf50c6f325eb4ebfd239",
|
||||
"bin": [
|
||||
[
|
||||
"Medelexis.exe",
|
||||
"e13",
|
||||
"-console"
|
||||
]
|
||||
],
|
||||
"shortcuts": [
|
||||
[
|
||||
"Medelexis.exe",
|
||||
"Elexis 3.13",
|
||||
"-console"
|
||||
],
|
||||
[
|
||||
"Medelexis.ini",
|
||||
"ini 3.13"
|
||||
]
|
||||
],
|
||||
"post_install": [
|
||||
"$iniPath = \"$persist_dir\\Medelexis.ini\"",
|
||||
"$ini = Get-Content $iniPath",
|
||||
"$insert = @('-Dprovisioning.UpdateRepository=3.13', '-DopenDBWizard', '-Dfop.printing.debug=true')",
|
||||
"$missing = @($insert | Where-Object { $_ -notin $ini })",
|
||||
"if ($missing.Count -gt 0) {",
|
||||
" $vmargs = $ini | Select-String '^-vmargs$' | Select-Object -First 1",
|
||||
" if (-not $vmargs) { throw '-vmargs wurde in Medelexis.ini nicht gefunden.' }",
|
||||
" $index = $vmargs.LineNumber",
|
||||
" $before = $ini[0..($index - 1)]",
|
||||
" $after = if ($index -lt $ini.Count) { $ini[$index..($ini.Count - 1)] } else { @() }",
|
||||
" $ini = @($before) + $missing + @($after)",
|
||||
" Set-Content $iniPath $ini",
|
||||
"}"
|
||||
],
|
||||
"persist": [
|
||||
"Medelexis.ini",
|
||||
"workspace\\.metadata\\.plugins\\org.eclipse.e4.workbench"
|
||||
],
|
||||
"notes": [
|
||||
"Elexis 3.13 wurde installiert.",
|
||||
"",
|
||||
"INI wurde mit Repo-Eintrag, DB-Abfrage und FOP-Debug ergänzt.",
|
||||
"Programm startet mit Konsole.",
|
||||
"",
|
||||
"Konsolenbefehle:",
|
||||
"-> e13 = Start Elexis 3.13"
|
||||
],
|
||||
"checkver": {
|
||||
"url": "https://download.medelexis.ch/medelexis/3.13/products/",
|
||||
"script": [
|
||||
"$fileUrl = 'https://download.medelexis.ch/medelexis/3.13/products/ch.medelexis.application.product.Medelexis-win32.win32.x86_64-signed.zip'",
|
||||
"$response = Invoke-WebRequest -Uri $fileUrl -Method Head -UseBasicParsing",
|
||||
"$lastModified = [string]$response.Headers['Last-Modified']",
|
||||
"if ([string]::IsNullOrWhiteSpace($lastModified)) { throw 'Kein Last-Modified-Header vorhanden.' }",
|
||||
"$date = [DateTimeOffset]::ParseExact($lastModified, 'R', [Globalization.CultureInfo]::InvariantCulture)",
|
||||
"$date.UtcDateTime.ToString(\"yyyyMMdd'T'HHmmss'Z'\")"
|
||||
],
|
||||
"regex": "(?<version>\\d{8}T\\d{6}Z)"
|
||||
},
|
||||
"autoupdate": {
|
||||
"url": "https://download.medelexis.ch/medelexis/3.13/products/ch.medelexis.application.product.Medelexis-win32.win32.x86_64-signed.zip#/Elexis-$version.zip"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,67 @@
|
||||
{
|
||||
"version": "20260601T071724Z",
|
||||
"description": "Elexis master",
|
||||
"url": "https://download.medelexis.ch/medelexis/master/products/ch.medelexis.application.product.Medelexis-win32.win32.x86_64-signed.zip#/Elexis-20260601T071724Z.zip",
|
||||
"hash": "325f38a7b7a297a315ddad03ddb34e3061780c3fd869c4856cbe0ab7bed51124",
|
||||
"bin": [
|
||||
[
|
||||
"Medelexis.exe",
|
||||
"em",
|
||||
"-console"
|
||||
]
|
||||
],
|
||||
"shortcuts": [
|
||||
[
|
||||
"Medelexis.exe",
|
||||
"Elexis master",
|
||||
"-console"
|
||||
],
|
||||
[
|
||||
"Medelexis.ini",
|
||||
"ini master"
|
||||
]
|
||||
],
|
||||
"post_install": [
|
||||
"$iniPath = \"$persist_dir\\Medelexis.ini\"",
|
||||
"$ini = Get-Content $iniPath",
|
||||
"$insert = @('-Dprovisioning.UpdateRepository=master', '-DopenDBWizard', '-Dfop.printing.debug=true')",
|
||||
"$missing = @($insert | Where-Object { $_ -notin $ini })",
|
||||
"if ($missing.Count -gt 0) {",
|
||||
" $vmargs = $ini | Select-String '^-vmargs$' | Select-Object -First 1",
|
||||
" if (-not $vmargs) { throw '-vmargs wurde in Medelexis.ini nicht gefunden.' }",
|
||||
" $index = $vmargs.LineNumber",
|
||||
" $before = $ini[0..($index - 1)]",
|
||||
" $after = if ($index -lt $ini.Count) { $ini[$index..($ini.Count - 1)] } else { @() }",
|
||||
" $ini = @($before) + $missing + @($after)",
|
||||
" Set-Content $iniPath $ini",
|
||||
"}"
|
||||
],
|
||||
"persist": [
|
||||
"Medelexis.ini",
|
||||
"workspace\\.metadata\\.plugins\\org.eclipse.e4.workbench"
|
||||
],
|
||||
"notes": [
|
||||
"Elexis master wurde installiert.",
|
||||
"",
|
||||
"INI wurde mit Repo-Eintrag, DB-Abfrage und FOP-Debug ergänzt.",
|
||||
"Programm startet mit Konsole.",
|
||||
"",
|
||||
"Konsolenbefehle:",
|
||||
"-> em = Start Elexis master"
|
||||
],
|
||||
"checkver": {
|
||||
"url": "https://download.medelexis.ch/medelexis/master/products/",
|
||||
"script": [
|
||||
"$fileUrl = 'https://download.medelexis.ch/medelexis/master/products/ch.medelexis.application.product.Medelexis-win32.win32.x86_64-signed.zip'",
|
||||
"$response = Invoke-WebRequest -Uri $fileUrl -Method Head -UseBasicParsing",
|
||||
"$lastModified = [string]$response.Headers['Last-Modified']",
|
||||
"if ([string]::IsNullOrWhiteSpace($lastModified)) { throw 'Kein Last-Modified-Header vorhanden.' }",
|
||||
"$date = [DateTimeOffset]::ParseExact($lastModified, 'R', [Globalization.CultureInfo]::InvariantCulture)",
|
||||
"$date.UtcDateTime.ToString(\"yyyyMMdd'T'HHmmss'Z'\")"
|
||||
],
|
||||
"regex": "(?<version>\\d{8}T\\d{6}Z)"
|
||||
},
|
||||
"autoupdate": {
|
||||
"url": "https://download.medelexis.ch/medelexis/master/products/ch.medelexis.application.product.Medelexis-win32.win32.x86_64-signed.zip#/Elexis-$version.zip"
|
||||
}
|
||||
}
|
||||
@@ -1,26 +0,0 @@
|
||||
{
|
||||
"version": "3.10",
|
||||
"description": "Elexis 3.10",
|
||||
"url": [
|
||||
"https://download.medelexis.ch/medelexis/3.10/products/ch.medelexis.application.product.Medelexis-win32.win32.x86_64-signed.zip#/Elexis-3.10.zip"
|
||||
],
|
||||
"bin": [
|
||||
["Medelexis.exe", "e10", "-console"]
|
||||
],
|
||||
"shortcuts": [
|
||||
["Medelexis.exe", "Elexis 3.10", "-console"],
|
||||
["Medelexis.ini", "ini 3.10"]
|
||||
],
|
||||
"post_install": [
|
||||
"$ini = Get-Content \"$persist_dir\\Medelexis.ini\"",
|
||||
"$insert = @('-Dprovisioning.UpdateRepository=3.10', '-DopenDBWizard', '-Dfop.printing.debug=true')",
|
||||
"$index = ($ini | Select-String '-vmargs').LineNumber",
|
||||
"$ini = $ini[0..($index-1)] + $insert + $ini[$index..($ini.Length-1)]",
|
||||
"Set-Content \"$persist_dir\\Medelexis.ini\" $ini"
|
||||
],
|
||||
"persist": [
|
||||
"Medelexis.ini",
|
||||
"workspace\\.metadata\\.plugins\\org.eclipse.e4.workbench"
|
||||
],
|
||||
"notes": "Elexis 3.10 wurde installiert.\n\nINI wurde mit Repo-Eintrag, DB-Abfrage und FOP-Debug ergänzt.\nProgramm Startet mit Konsole \n\nKonsole Befehle:\n -> e10 = Start Elexis 3.10\n -> e10ini = Öffne ini von Elexis 3.10"
|
||||
}
|
||||
@@ -1,26 +0,0 @@
|
||||
{
|
||||
"version": "3.12",
|
||||
"description": "Elexis 3.12",
|
||||
"url": [
|
||||
"https://download.medelexis.ch/medelexis/3.12/products/ch.medelexis.application.product.Medelexis-win32.win32.x86_64-signed.zip#/Elexis-3.12.zip"
|
||||
],
|
||||
"bin": [
|
||||
["Medelexis.exe", "e12", "-console"]
|
||||
],
|
||||
"shortcuts": [
|
||||
["Medelexis.exe", "Elexis 3.12", "-console"],
|
||||
["Medelexis.ini", "ini 3.12"]
|
||||
],
|
||||
"post_install": [
|
||||
"$ini = Get-Content \"$persist_dir\\Medelexis.ini\"",
|
||||
"$insert = @('-Dprovisioning.UpdateRepository=3.12', '-DopenDBWizard', '-Dfop.printing.debug=true')",
|
||||
"$index = ($ini | Select-String '-vmargs').LineNumber",
|
||||
"$ini = $ini[0..($index-1)] + $insert + $ini[$index..($ini.Length-1)]",
|
||||
"Set-Content \"$persist_dir\\Medelexis.ini\" $ini"
|
||||
],
|
||||
"persist": [
|
||||
"Medelexis.ini",
|
||||
"workspace\\.metadata\\.plugins\\org.eclipse.e4.workbench"
|
||||
],
|
||||
"notes": "Elexis 3.12 wurde installiert.\n\nINI wurde mit Repo-Eintrag, DB-Abfrage und FOP-Debug ergänzt.\nProgramm Startet mit Konsole \n\nKonsole Befehle:\n -> e12 = Start Elexis 3.12\n -> e12ini = Öffne ini von Elexis 3.12"
|
||||
}
|
||||
@@ -1,26 +0,0 @@
|
||||
{
|
||||
"version": "3.13",
|
||||
"description": "Elexis 3.13",
|
||||
"url": [
|
||||
"https://download.medelexis.ch/medelexis/3.13/products/ch.medelexis.application.product.Medelexis-win32.win32.x86_64-signed.zip#/Elexis-3.13.zip"
|
||||
],
|
||||
"bin": [
|
||||
["Medelexis.exe", "e13", "-console"]
|
||||
],
|
||||
"shortcuts": [
|
||||
["Medelexis.exe", "Elexis 3.13", "-console"],
|
||||
["Medelexis.ini", "ini 3.13"]
|
||||
],
|
||||
"post_install": [
|
||||
"$ini = Get-Content \"$persist_dir\\Medelexis.ini\"",
|
||||
"$insert = @('-Dprovisioning.UpdateRepository=3.13', '-DopenDBWizard', '-Dfop.printing.debug=true')",
|
||||
"$index = ($ini | Select-String '-vmargs').LineNumber",
|
||||
"$ini = $ini[0..($index-1)] + $insert + $ini[$index..($ini.Length-1)]",
|
||||
"Set-Content \"$persist_dir\\Medelexis.ini\" $ini"
|
||||
],
|
||||
"persist": [
|
||||
"Medelexis.ini",
|
||||
"workspace\\.metadata\\.plugins\\org.eclipse.e4.workbench"
|
||||
],
|
||||
"notes": "Elexis 3.13 wurde installiert.\n\nINI wurde mit Repo-Eintrag, DB-Abfrage und FOP-Debug ergänzt.\nProgramm Startet mit Konsole \n\nKonsole Befehle:\n -> e13 = Start Elexis 3.13\n -> e13ini = Öffne ini von Elexis 3.13"
|
||||
}
|
||||
@@ -1,26 +0,0 @@
|
||||
{
|
||||
"version": "master",
|
||||
"description": "Elexis master",
|
||||
"url": [
|
||||
"https://download.medelexis.ch/medelexis/master/products/ch.medelexis.application.product.Medelexis-win32.win32.x86_64-signed.zip#/Elexis-master.zip"
|
||||
],
|
||||
"bin": [
|
||||
["Medelexis.exe", "em", "-console"]
|
||||
],
|
||||
"shortcuts": [
|
||||
["Medelexis.exe", "Elexis master", "-console"],
|
||||
["Medelexis.ini", "ini master"]
|
||||
],
|
||||
"post_install": [
|
||||
"$ini = Get-Content \"$persist_dir\\Medelexis.ini\"",
|
||||
"$insert = @('-Dprovisioning.UpdateRepository=master', '-DopenDBWizard', '-Dfop.printing.debug=true')",
|
||||
"$index = ($ini | Select-String '-vmargs').LineNumber",
|
||||
"$ini = $ini[0..($index-1)] + $insert + $ini[$index..($ini.Length-1)]",
|
||||
"Set-Content \"$persist_dir\\Medelexis.ini\" $ini"
|
||||
],
|
||||
"persist": [
|
||||
"Medelexis.ini",
|
||||
"workspace\\.metadata\\.plugins\\org.eclipse.e4.workbench"
|
||||
],
|
||||
"notes": "Elexis master wurde installiert.\n\nINI wurde mit Repo-Eintrag, DB-Abfrage und FOP-Debug ergänzt.\nProgramm Startet mit Konsole \n\nKonsole Befehle:\n -> em = Start Elexis master\n -> emini = Öffne ini von Elexis master"
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"version": "20260715T124927Z",
|
||||
"description": "MyElexis CLI",
|
||||
"url": "https://download.medelexis.ch/myelexis-cli/windows/myelexis-cli-1.0.0-SNAPSHOT-runner.exe#/myelexis-cli.exe",
|
||||
"hash": "b9df1355c599acf7e816fe490ca9e1a7c6aef4de1a5f0b45e6343e7ccbe74fc8",
|
||||
"bin": [
|
||||
[
|
||||
"myelexis-cli.exe",
|
||||
"ee"
|
||||
],
|
||||
[
|
||||
"myelexis-cli.exe",
|
||||
"es"
|
||||
]
|
||||
],
|
||||
"checkver": {
|
||||
"url": "https://download.medelexis.ch/myelexis-cli/windows/",
|
||||
"script": [
|
||||
"$fileUrl = 'https://download.medelexis.ch/myelexis-cli/windows/myelexis-cli-1.0.0-SNAPSHOT-runner.exe'",
|
||||
"$response = Invoke-WebRequest -Uri $fileUrl -Method Head -UseBasicParsing",
|
||||
"$lastModified = [string]$response.Headers['Last-Modified']",
|
||||
"if ([string]::IsNullOrWhiteSpace($lastModified)) { throw 'Kein Last-Modified-Header vorhanden.' }",
|
||||
"$date = [DateTimeOffset]::ParseExact($lastModified, 'R', [Globalization.CultureInfo]::InvariantCulture)",
|
||||
"$date.UtcDateTime.ToString('yyyyMMddTHHmmssZ')"
|
||||
],
|
||||
"regex": "(?<version>\\d{8}T\\d{6}Z)"
|
||||
},
|
||||
"autoupdate": {
|
||||
"url": "https://download.medelexis.ch/myelexis-cli/windows/myelexis-cli-1.0.0-SNAPSHOT-runner.exe#/myelexis-cli.exe"
|
||||
}
|
||||
}
|
||||
@@ -12,9 +12,7 @@
|
||||
"extras/firefox",
|
||||
"extras/keepass",
|
||||
"extras/teamviewer",
|
||||
"extras/rustdesk",
|
||||
|
||||
"rustdesk-config",
|
||||
"ee-cli",
|
||||
"elexis_3.10",
|
||||
"elexis_3.12",
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
{
|
||||
"version": "1.4.9",
|
||||
"description": "Medelexis RustDesk",
|
||||
"url": "https://github.com/rustdesk/rustdesk/releases/download/1.4.9/rustdesk-1.4.9-x86_64.exe#/rd=0nI9AzNrs2dRl0c0p1KRJWdzInQFh3M3VVUlJjZoxkQudWbHNTOpBlcsRle58kI6ISeltmIsICaj5ycphXZsVGZl1mLrNXZkR3c1J3LvozcwRHdoJiOikGchJCLiIiOikXYsVmciwiIoNmLzlGelxWZkVWbus2clRGdzVnciojI0N3boJye.exe",
|
||||
"hash": "eaedeb0088e687bf46f7c46a9c6ea5493ce51f3134dfd6acbedb47b5b9136274",
|
||||
"bin": [["rd=0nI9AzNrs2dRl0c0p1KRJWdzInQFh3M3VVUlJjZoxkQudWbHNTOpBlcsRle58kI6ISeltmIsICaj5ycphXZsVGZl1mLrNXZkR3c1J3LvozcwRHdoJiOikGchJCLiIiOikXYsVmciwiIoNmLzlGelxWZkVWbus2clRGdzVnciojI0N3boJye.exe", "rustdesk-medelexis"]],
|
||||
"shortcuts": [["rd=0nI9AzNrs2dRl0c0p1KRJWdzInQFh3M3VVUlJjZoxkQudWbHNTOpBlcsRle58kI6ISeltmIsICaj5ycphXZsVGZl1mLrNXZkR3c1J3LvozcwRHdoJiOikGchJCLiIiOikXYsVmciwiIoNmLzlGelxWZkVWbus2clRGdzVnciojI0N3boJye.exe", "RustDesk Medelexis"]]
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
=0nI9AzNrs2dRl0c0p1KRJWdzInQFh3M3VVUlJjZoxkQudWbHNTOpBlcsRle58kI6ISeltmIsICaj5ycphXZsVGZl1mLrNXZkR3c1J3LvozcwRHdoJiOikGchJCLiIiOikXYsVmciwiIoNmLzlGelxWZkVWbus2clRGdzVnciojI0N3boJye
|
||||
@@ -0,0 +1,52 @@
|
||||
# 1. SCOOP CHECK & INSTALL
|
||||
$bucketList = scoop bucket list 2>$null | Out-String
|
||||
|
||||
if ($bucketList) {
|
||||
Write-Host "Scoop ist bereits installiert." -ForegroundColor White
|
||||
}
|
||||
else {
|
||||
Write-Host "Scoop wird installiert..." -ForegroundColor Yellow
|
||||
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser -Force
|
||||
$scoopInstallationsSkript = Invoke-RestMethod -Uri "https://get.scoop.sh"
|
||||
Invoke-Expression $scoopInstallationsSkript
|
||||
$bucketList = scoop bucket list 2>$null | Out-String
|
||||
}
|
||||
|
||||
# 2. GIT CHECK & INSTALL
|
||||
if ((git --version 2>$null) -match "git version") {
|
||||
Write-Host "Git ist bereits installiert." -ForegroundColor White
|
||||
}
|
||||
else {
|
||||
Write-Host "Git wird installiert..." -ForegroundColor Yellow
|
||||
scoop install git
|
||||
if ((git --version 2>$null) -match "git version") {
|
||||
Write-Host "Git wurde erfolgreich installiert." -ForegroundColor Green
|
||||
}
|
||||
else {
|
||||
Write-Host "Error: Git konnte nicht installiert werden." -ForegroundColor Red
|
||||
exit 1
|
||||
}
|
||||
}
|
||||
|
||||
# 3. BUCKET CHECKS
|
||||
if ($bucketList -match "elexis") {
|
||||
Write-Host "elexis Bucket ist bereits vorhanden." -ForegroundColor White
|
||||
}
|
||||
else {
|
||||
scoop bucket add elexis https://git.streichtech.ch/elexis/scoop
|
||||
Write-Host "elexis Bucket hinzugefügt." -ForegroundColor Green
|
||||
}
|
||||
|
||||
if ($bucketList -match "extras") {
|
||||
Write-Host "Extras Bucket ist bereits vorhanden." -ForegroundColor White
|
||||
}
|
||||
else {
|
||||
scoop bucket add extras
|
||||
Write-Host "Extras Bucket hinzugefügt." -ForegroundColor Green
|
||||
}
|
||||
|
||||
Write-Host ""
|
||||
Write-Host "Fertig! Verfügbare Apps anzeigen mit: scoop search" -ForegroundColor Cyan
|
||||
Write-Host "Bsp. scoop search ee-cli" -ForegroundColor Cyan
|
||||
Write-Host ""
|
||||
Read-Host "Enter drücken zum Beenden"
|
||||
Reference in New Issue
Block a user