mirror of
https://github.com/Grasscutters/GrassClipper.git
synced 2024-11-16 04:45:34 +00:00
windows build script
This commit is contained in:
parent
ffd0d5dbb4
commit
c9ffc9c8c3
22
build_win.cmd
Normal file
22
build_win.cmd
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user