Initial source: RAPPORT Server-App v0.1.0
- Tauri-2-Admin-UI fuer den Rapport-Compose-Stack - React-Frontend (JSX, kein TS) mit Material-Symbols-Icons - Service-Cards mit Live-Stats (CPU/RAM), Logs, Restart/Stop - Backup-/Restore-System mit pg_dumpall + Retention - Container-Auto-Updates mit Pre-Backup - App-Auto-Updater (Tauri signiert) gegen latest.json im Repo-Root - HTTPS-WebUI (axum/rustls) mit Basic-Auth, CSRF, Rate-Limit, Security-Headers - Setup-Wizard: lädt Docker+Colima+Lima direct von GitHub/docker.com nach ~/.rapport/bin/ - Tray-Modus + macOS-Notifications + Auto-Recovery - Login-Item via tauri-plugin-autostart
This commit is contained in:
Executable
+29
@@ -0,0 +1,29 @@
|
||||
#!/usr/bin/env bash
|
||||
# Build + Code-Signing-Helper.
|
||||
# Ablauf:
|
||||
# 1. ./scripts/download-binaries.sh (laedt Platzhalter / spaeter echte Binaries)
|
||||
# 2. npm install
|
||||
# 3. npm run build (Vite-Frontend-Build)
|
||||
# 4. cargo tauri build (Tauri-Bundle)
|
||||
# 5. (macOS) codesign + notarize (nur wenn APPLE_ID/TEAM_ID gesetzt)
|
||||
|
||||
set -euo pipefail
|
||||
cd "$(dirname "$0")/.."
|
||||
|
||||
echo "==> binaries"
|
||||
./scripts/download-binaries.sh
|
||||
|
||||
echo "==> npm install"
|
||||
npm install
|
||||
|
||||
echo "==> tauri build"
|
||||
npm run tauri:build
|
||||
|
||||
if [[ "$(uname -s)" == "Darwin" && -n "${APPLE_ID:-}" && -n "${APPLE_TEAM_ID:-}" ]]; then
|
||||
echo "==> notarize (TODO — bundle path + xcrun notarytool aufruf)"
|
||||
# xcrun notarytool submit ... --apple-id "$APPLE_ID" --team-id "$APPLE_TEAM_ID" --wait
|
||||
else
|
||||
echo "Skipping macOS notarization (APPLE_ID/APPLE_TEAM_ID not set)."
|
||||
fi
|
||||
|
||||
echo "Done. Bundle: src-tauri/target/release/bundle/"
|
||||
Reference in New Issue
Block a user