GrassClipper/build.sh

23 lines
623 B
Bash
Raw Permalink Normal View History

2022-04-25 23:32:19 +00:00
# !/bin/bash
# Clean dist
rm -rf ./dist
# build
neu build
# copy scripts and langs
cp -r ./scripts ./dist/GrassClipper
cp -r ./proxy ./dist/GrassClipper
cp -r ./languages ./dist/GrassClipper
# copy backgrounds
mkdir ./dist/GrassClipper/resources/
mkdir ./dist/GrassClipper/resources/bg
mkdir ./dist/GrassClipper/resources/bg/private
mkdir ./dist/GrassClipper/resources/bg/server
cp -r ./resources/bg/private/* ./dist/GrassClipper/resources/bg/private
cp -r ./resources/bg/server/* ./dist/GrassClipper/resources/bg/server
# rename exe
mv ./dist/GrassClipper/GrassClipper-win_x64.exe ./dist/GrassClipper/GrassClipper.exe