1
yomichan-import/scripts/build_windows.sh

17 lines
410 B
Bash
Executable File

#!/bin/bash
mkdir -p dst
mkdir -p yomichan-import
export CXX=x86_64-w64-mingw32-g++.exe
export CC=x86_64-w64-mingw32-gcc.exe
go build foosoft.net/projects/yomichan-import/yomichan
go build -ldflags="-H windowsgui" foosoft.net/projects/yomichan-import/yomichan-gtk
mv yomichan.exe yomichan-import
mv yomichan-gtk.exe yomichan-import
7za a yomichan-import_windows.zip yomichan-import
rm -rf yomichan-import