This commit is contained in:
backuppc
2025-07-08 14:34:38 +09:00
parent 0d2da98470
commit 447cb691d7
9 changed files with 384 additions and 9 deletions

46
build_simple.bat Normal file
View File

@@ -0,0 +1,46 @@
@echo off
echo Creating VNCServerList deployment package from Debug folder...
echo.
REM Check if Debug folder exists
if not exist "bin\Debug" (
echo Error: bin\Debug folder not found!
echo Please build the project first in Visual Studio 2017 Express:
echo 1. Open VNCServerList.sln in Visual Studio 2017 Express
echo 2. Build -> Build Solution
echo.
pause
exit /b 1
)
echo Found Debug folder. Creating deployment package...
echo.
REM Create deployment folder
if not exist "deploy" mkdir deploy
REM Copy all files from Debug folder (except .pdb files)
echo Copying files from Debug folder...
xcopy "bin\Debug\*.*" "deploy\" /E /I /Y
REM Remove .pdb files (debug symbols)
if exist "deploy\*.pdb" del "deploy\*.pdb"
REM Copy README file
if exist "README_deploy.txt" (
copy "README_deploy.txt" "deploy\README.txt"
echo Copied README.txt to deploy\
) else (
echo Warning: README_deploy.txt not found
)
echo.
echo Deployment package created in 'deploy' folder!
echo.
echo Files included:
dir deploy /b
echo.
echo Note: This package includes all necessary files from Debug folder.
echo You can now zip the 'deploy' folder and distribute it.
echo.
pause