refactor(go): Remove legacy C# and Node proxy; establish pure Go core engine and configure linguist attributes
This commit is contained in:
1 parent
c73d744649
commit
195a1d36f5
665 files changed
+39
-5516983
No files matched your search
@@ -1,16 +1,19 @@
|
||||
@echo off
|
||||
setlocal EnableExtensions
|
||||
cd /d "%~dp0"
|
||||
title Ananta 4229938 Private Server
|
||||
title Ananta Private Server (Native Go Engine)
|
||||
|
||||
where powershell.exe >nul 2>&1
|
||||
if errorlevel 1 (
|
||||
echo [ERROR] Windows PowerShell was not found.
|
||||
pause
|
||||
exit /b 3
|
||||
if not exist ananta-server.exe (
|
||||
echo [BUILD] Compiling ananta-server.exe with Go...
|
||||
go build -o ananta-server.exe ./cmd/ananta-server
|
||||
if errorlevel 1 (
|
||||
echo [ERROR] Go build failed.
|
||||
pause
|
||||
exit /b 1
|
||||
)
|
||||
)
|
||||
|
||||
powershell.exe -NoLogo -NoProfile -ExecutionPolicy Bypass -File "%~dp0Run-All.ps1"
|
||||
ananta-server.exe
|
||||
set "rc=%errorlevel%"
|
||||
if not "%rc%"=="0" pause
|
||||
exit /b %rc%
|
||||
Reference in new issue
Block a user