1
0

feat: 初始版本

This commit is contained in:
2026-07-22 20:34:10 +08:00
commit 8859dc0da5
24 changed files with 1065 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
@echo off
REM Build script for Desktop Roach Rampage
REM Compiles the C# source code into a Windows executable
echo Building Desktop Roach Rampage...
cd /d "%~dp0app"
REM Use .NET Framework compiler
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\csc.exe /target:winexe /r:System.dll /r:System.Drawing.dll /r:System.Windows.Forms.dll /out:DesktopRoachRampage.exe Program.cs
if %ERRORLEVEL% NEQ 0 (
echo Build failed!
pause
exit /b 1
)
echo Copying executable to bin directory...
if not exist "..\bin" mkdir "..\bin"
copy /Y "DesktopRoachRampage.exe" "..\bin\" > nul
echo.
echo Build completed successfully!
echo Executable: DesktopRoachRampage\bin\DesktopRoachRampage.exe
pause