Skip to content

Commit

Permalink
add win package
Browse files Browse the repository at this point in the history
  • Loading branch information
t0b3 committed May 28, 2022
1 parent 23ee7d8 commit a214ef5
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions distribute/distribute.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,22 @@ mkdir $name
cp ../README.md $name/README
cp ../LICENSE* $name/
cp -a ../silhouette $name/
cp ../*.py ../*.inx ../Makefile $name/
cp ../*.sh ../*.rules ../*.png $name/
cp ../*silhouette*.py ../*.inx $name/


echo "****************************************************************"
echo "Build Windows Version (Y/n)?"
read answer
if [ "$answer" != "n" ]
then
mkdir -p out
zip -r out/$name-winpackage_$VERSION.zip $name --exclude \*.pyc \*__pycache__\*
zip -j out/$name-winpackage_$VERSION.zip win/*
fi


# add linux-specific content
cp ../*.sh ../*.rules ../*.png ../Makefile $name/


echo "****************************************************************"
Expand Down

0 comments on commit a214ef5

Please sign in to comment.