first commit

This commit is contained in:
Colin-Joel Scupin
2026-08-05 01:29:39 +02:00
commit 86d4bcdc37
85 changed files with 7706 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
param(
[string]$Version = "0.4.3"
)
$Root = Split-Path -Parent $PSScriptRoot
$Release = Join-Path $Root "release"
$Output = Join-Path $Release "devx-rp-server-v$Version.zip"
$Staging = Join-Path $env:TEMP "devx-rp-release-$Version"
if (Test-Path $Staging) { Remove-Item $Staging -Recurse -Force }
New-Item $Staging -ItemType Directory | Out-Null
New-Item $Release -ItemType Directory -Force | Out-Null
Copy-Item (Join-Path $Root "server.cfg") $Staging
Copy-Item (Join-Path $Root "sql") $Staging -Recurse
Copy-Item (Join-Path $Root "resources") $Staging -Recurse
if (Test-Path $Output) { Remove-Item $Output -Force }
Compress-Archive -Path (Join-Path $Staging "*") -DestinationPath $Output
Remove-Item $Staging -Recurse -Force
Write-Host "Created: $Output"
+15
View File
@@ -0,0 +1,15 @@
#!/usr/bin/env bash
set -euo pipefail
VERSION="${1:-0.4.3}"
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
OUT="$ROOT/release/devx-rp-server-v${VERSION}.zip"
mkdir -p "$ROOT/release"
rm -f "$OUT"
cd "$ROOT"
zip -r "$OUT" server.cfg sql resources \
-x "*/.DS_Store" "*/Thumbs.db" "*/node_modules/*"
echo "Created: $OUT"