Move scripts to scripts directory and remove odcs no longer needed.

This commit is contained in:
2026-03-03 17:10:46 -05:00
parent c76853a442
commit 895372fe98
20 changed files with 0 additions and 1079 deletions
+22
View File
@@ -0,0 +1,22 @@
# copy-sql-files.ps1
# Run this after publish to copy SQL files
param(
[string]$PublishDir = "Jellyfin.Server\bin\Release\net11.0\publish"
)
Write-Host "Copying SQL files to $PublishDir..." -ForegroundColor Cyan
# Create sql directory
New-Item -ItemType Directory -Path "$PublishDir\sql" -Force | Out-Null
New-Item -ItemType Directory -Path "$PublishDir\sql\schema_init" -Force | Out-Null
# Copy SQL files
Copy-Item "Jellyfin.Server\sql\*.sql" "$PublishDir\sql\" -Force
Copy-Item "Jellyfin.Server\sql\schema_init\*.sql" "$PublishDir\sql\schema_init\" -Force -ErrorAction SilentlyContinue
Write-Host "✓ SQL files copied successfully!" -ForegroundColor Green
# List copied files
Write-Host "`nCopied files:" -ForegroundColor Yellow
Get-ChildItem "$PublishDir\sql" -Recurse -File | Select-Object FullName