1
yomichan-import/scripts/build_windows.sh

17 lines
410 B
Bash
Raw Normal View History

2021-01-11 01:28:27 +00:00
#!/bin/bash
2022-07-04 03:59:33 +00:00
2021-01-11 01:38:03 +00:00
mkdir -p dst
mkdir -p yomichan-import
2021-01-11 01:28:27 +00:00
export CXX=x86_64-w64-mingw32-g++.exe
export CC=x86_64-w64-mingw32-gcc.exe
2022-07-04 03:59:33 +00:00
go build foosoft.net/projects/yomichan-import/yomichan
go build -ldflags="-H windowsgui" foosoft.net/projects/yomichan-import/yomichan-gtk
2021-01-11 01:28:27 +00:00
mv yomichan.exe yomichan-import
mv yomichan-gtk.exe yomichan-import
2021-01-11 01:38:03 +00:00
7za a yomichan-import_windows.zip yomichan-import
2021-01-11 01:28:27 +00:00
rm -rf yomichan-import