fix: some build.sh fixes

This commit is contained in:
MeexReay 2025-07-06 06:07:32 +03:00
parent f93e963972
commit 4a9a774a79
2 changed files with 3 additions and 2 deletions

1
.gitignore vendored
View File

@ -4,4 +4,3 @@
/config.yml
/bRAC
/.direnv/
/misc/mslink.sh

View File

@ -39,7 +39,7 @@ build_windows() {
package; # package it (adds some libs)
mv package build/windows-x86_64;
chmod -R 777 build/windows-x86_64;
rm -rf target/x86_64-pc-windows-gnu"
chmod -R 777 target"
# copy readme, license and make a zip
cp README.md build/windows-x86_64
@ -47,6 +47,8 @@ build_windows() {
zip -r build/bRAC-windows-x86_64.zip build/windows-x86_64
}
mkdir -p build
if [ $# -eq 0 ]; then
if [ ! -d build/windows-x86_64 ]; then
build_windows