test(updates): rewrite of update system

This commit is contained in:
2025-03-13 15:44:53 -05:00
parent 80567d2dd9
commit 0054c8f7d4

14
server/scripts/update.ps1 Normal file
View File

@@ -0,0 +1,14 @@
$serverDataFile = "..\services\server\utils\serverData.json"
$jsonContent = Get-Content -Path $serverDataFile -Raw
# Convert the JSON content to a PowerShell object
$jsonObject = $jsonContent | ConvertFrom-Json
# Access the data in the JSON object
$servers = $jsonObject.servers
Write-Host $servers