Skip to content

Commit

Permalink
Add shadowsocks-tray.exe (modified from goagent.exe)
Browse files Browse the repository at this point in the history
  • Loading branch information
cyfdecyf committed Mar 4, 2013
1 parent 1d34853 commit d0ac753
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions script/build.sh
Expand Up @@ -7,8 +7,8 @@ echo "creating shadowsocks binary version $version"

export CGO_ENABLED=0

cur=`pwd`
bindir=$cur/bin
ROOT=`pwd`
bindir=$ROOT/bin
mkdir -p $bindir

build() {
Expand All @@ -22,9 +22,12 @@ build() {
echo "building $name"
GOOS=$1 GOARCH=$2 go build -a || exit 1
if [[ $1 == "windows" ]]; then
zip $name.zip $prog.exe
mv $prog.exe $ROOT/script/
pushd $ROOT/script/
zip $name.zip $prog.exe shadowsocks-tray.exe
rm -f $prog.exe
mv $name.zip $bindir
popd
else
mv $prog $name
gzip -f $name
Expand Down
Binary file added script/shadowsocks-tray.exe
Binary file not shown.

0 comments on commit d0ac753

Please sign in to comment.