add cross-platform reset scripts, portable server manager, and frontend scaffolding

This commit is contained in:
techjarves committed 2026-06-26 07:00:17 +05:30
1 parent 1d28391243
commit 349b9e167f
6 files changed
+258 -22

No files matched your search

+13 -1
View File
@@ -78,6 +78,18 @@ if (Test-Path $ttsModelsDir) {
Write-Host " >> Preserving TTS models in app/tts-models." -ForegroundColor Cyan
}
# Preserve generated image outputs
$outputsDir = Join-Path $appDir "outputs"
if (Test-Path $outputsDir) {
Write-Host " >> Preserving generated image outputs in app/outputs." -ForegroundColor Cyan
}
# Preserve chat history
$chatHistoryDir = Join-Path $appDir "chat-history"
if (Test-Path $chatHistoryDir) {
Write-Host " >> Preserving chat history in app/chat-history." -ForegroundColor Cyan
}
# Preserve transcriptions
$transcriptionsDir = Join-Path $appDir "transcriptions"
if (Test-Path $transcriptionsDir) {
@@ -125,7 +137,7 @@ if (Test-Path $lockFile) {
Write-Host ""
Write-Host " ============================================================" -ForegroundColor Green
Write-Host " Reset complete. Image models, text models, speech models, TTS models, transcripts, TTS outputs, OpenVINO models, and generated outputs were preserved." -ForegroundColor Green
Write-Host " Reset complete. Models, generated images, chat history, transcripts, TTS outputs, TTS cache, and OpenVINO models were preserved." -ForegroundColor Green
Write-Host " ============================================================" -ForegroundColor Green
Write-Host ""
Read-Host " Press Enter to close..."
+11 -1
View File
@@ -72,6 +72,16 @@ if [[ -d "$APP_DIR/tts-models" ]]; then
echo " >> Preserving TTS models in app/tts-models."
fi
# Preserve generated image outputs
if [[ -d "$APP_DIR/outputs" ]]; then
echo " >> Preserving generated image outputs in app/outputs."
fi
# Preserve chat history
if [[ -d "$APP_DIR/chat-history" ]]; then
echo " >> Preserving chat history in app/chat-history."
fi
# Preserve transcriptions
if [[ -d "$APP_DIR/transcriptions" ]]; then
echo " >> Preserving speech transcripts in app/transcriptions."
@@ -111,7 +121,7 @@ fi
echo ""
echo " ============================================================"
echo " Reset complete. Image models, text models, speech models, TTS models, transcripts, TTS outputs, OpenVINO models, and generated outputs were preserved."
echo " Reset complete. Models, generated images, chat history, transcripts, TTS outputs, TTS cache, and OpenVINO models were preserved."
echo " ============================================================"
echo ""
read -rp " Press Enter to close..."