init update

This commit is contained in:
LibreHacker 2020-07-28 13:42:52 +03:00
parent abfd5fd2ec
commit 6cd4c6189d
2 changed files with 11 additions and 3 deletions

View File

@ -21,6 +21,7 @@ cp -r bin/{Editor.sh,Urho3DPlayer} ../../bin
mkdir ../../lib
cp -r lib/Urho3D ../../lib
cd ../../
ln -s Tools/Start.sh
ln -s Tools/Editor.sh
mv Download.sh Tools/
mv Tools/Start.sh ./
mv Tools/Editor.sh ./
mv Tools/Update.sh ./
rm Download.sh

7
Tools/Update.sh Executable file
View File

@ -0,0 +1,7 @@
#!/bin/bash
wget https://git.macaw.me/LibreHacker/LibreU3DSDK/raw/branch/master/Tools/Update.sh Tools/
if (($(sha512sum Update.sh | awk '{print $1}') != $(sha512sum Tools/Update.sh | awk '{print $1}')));
then
mv -f Tools/Update.sh ./
Update.sh
fi