Commit 61568bcd authored by Giorgos Korfiatis's avatar Giorgos Korfiatis
Browse files

adapt install scripts for resources dir

parent eebcf962
......@@ -39,7 +39,7 @@ url="http://dl.nwjs.io/${VERSION}/"$file
echo "Will first download nwjs."
AGKPATH=agkyra
NWJSPATH=$AGKPATH/nwjs
NWJSPATH=$AGKPATH/resources/nwjs
if [ -d $NWJSPATH ]; then
echo "Warning: cleaning up $NWJSPATH."
rm -r $NWJSPATH
......
......@@ -42,15 +42,13 @@ rm -r $WHEELHOUSE
cp $ROOTPATH/COPYING $TMPAGKYRA
cp $ROOTPATH/README.md $TMPAGKYRA
cp $ROOTPATH/agkyra/scripts/gui.py $TMPAGKYRA/agkyra
cp $ROOTPATH/agkyra/scripts/agkyra $TMPAGKYRA/agkyra
cp $ROOTPATH/agkyra/scripts/cli.py $TMPAGKYRA/agkyra-cli
cd $TMPDIR
ARCHIVENAME=$CURPWD/agkyra-snapshot-${os}
if [[ "$os" =~ ^(linux64|linux32)$ ]]; then
tar czf ${ARCHIVENAME}.tar.gz agkyra
elif [[ "$os" =~ ^(osx64|osx32)$ ]]; then
mkdir -p agkyra.app/Contents
mv agkyra agkyra.app/Contents/MacOS
zip -r ${ARCHIVENAME}.zip agkyra.app
else
zip -r ${ARCHIVENAME}.zip agkyra
fi
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment