Maximize Workplace within its frame and add versioned Design Studio

This commit is contained in:
2026-11-24 07:20:21 +00:00
parent 84c4ce459c
commit 0a74686c52
36 changed files with 427 additions and 40 deletions

View File

@@ -0,0 +1,10 @@
$ErrorActionPreference = 'Stop'
$Root = Split-Path -Parent $PSScriptRoot
$Temp = Join-Path ([System.IO.Path]::GetTempPath()) ([guid]::NewGuid().ToString())
New-Item -ItemType Directory -Path $Temp | Out-Null
try {
& javac --release 11 -d $Temp (Join-Path $Root 'hmi-docs/cheerpj/WorkplaceLauncher.java')
if ($LASTEXITCODE -ne 0) { throw 'Workplace launcher compilation failed' }
& jar --create --file (Join-Path $Root 'hmi-frontend/public/cheerpj/workplace-launcher.jar') -C $Temp 'com/widgetworkbench/cheerpj/WorkplaceLauncher.class'
if ($LASTEXITCODE -ne 0) { throw 'Workplace launcher packaging failed' }
} finally { Remove-Item -LiteralPath $Temp -Recurse -Force }

View File

@@ -0,0 +1,7 @@
#!/usr/bin/env bash
set -euo pipefail
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
TEMP="$(mktemp -d)"
trap 'rm -rf "$TEMP"' EXIT
javac --release 11 -d "$TEMP" "$ROOT/hmi-docs/cheerpj/WorkplaceLauncher.java"
jar --create --file "$ROOT/hmi-frontend/public/cheerpj/workplace-launcher.jar" -C "$TEMP" com/widgetworkbench/cheerpj/WorkplaceLauncher.class