From c9ffc9c8c36abed794252d277cd82df20a8a2fd7 Mon Sep 17 00:00:00 2001 From: SpikeHD Date: Mon, 25 Apr 2022 16:24:32 -0700 Subject: [PATCH] windows build script --- build.sh | 0 build_win.cmd | 22 ++++++++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 build.sh create mode 100644 build_win.cmd diff --git a/build.sh b/build.sh new file mode 100644 index 0000000..e69de29 diff --git a/build_win.cmd b/build_win.cmd new file mode 100644 index 0000000..1f92750 --- /dev/null +++ b/build_win.cmd @@ -0,0 +1,22 @@ +@echo off + +:: Clean dist folder +del /s /q /f .\dist +rd /s /q .\dist + +:: build +call neu build + +:: Copy scripts and langs +xcopy .\languages\ .\dist\GrassClipper\langauges\ /y /s +xcopy .\proxy\ .\dist\GrassClipper\proxy\ /y /s +xcopy .\scripts\ .\dist\GrassClipper\scripts\ /y /s + +:: bgs +mkdir .\dist\GrassClipper\resources\bg\private +mkdir .\dist\GrassClipper\resources\bg\server +xcopy .\resources\bg\private\ .\dist\GrassClipper\resources\bg\private\ /y /s +xcopy .\resources\bg\server\ .\dist\GrassClipper\resources\bg\server\ /y /s + +:: rename exe +move .\dist\GrassClipper\GrassClipper-win_x64.exe .\dist\GrassClipper\GrassClipper.exe \ No newline at end of file