Update 'Download.sh'

making it silent
This commit is contained in:
Tolstoevsky 2020-07-31 12:35:51 +00:00
parent ffd5b53ded
commit a370993d8b

View File

@ -1,29 +1,24 @@
#!/bin/bash #!/bin/bash
urho3d=Urho3D-1.8-ALPHA.145-Linux-64bit-SHARED-snapshot urho3d=Urho3D-1.8-ALPHA.145-Linux-64bit-SHARED-snapshot
mkdir Urho3D mkdir Urho3D > /dev/null 2>&1
cd Urho3D cd Urho3D
wget https://sourceforge.net/projects/urho3d/files/Urho3D/Snapshots/$urho3d.tar.gz/download -O Urho3D.tar.gz #wget https://sourceforge.net/projects/urho3d/files/Urho3D/Snapshots/$urho3d.tar.gz/download -O Urho3D.tar.gz
tar -xvzf Urho3D.tar.gz > Urho3D.log #tar -xvzf Urho3D.tar.gz > Urho3D.log
cd $urho3d cd $urho3d
resource=share/Urho3D/Resources resource=share/Urho3D/Resources
oresource=../../$resource oresource=../../$resource
mkdir ../../share/Urho3D mkdir -p ../../$resource/Data/{Materials,Scripts,Textures} > /dev/null 2>&1
mkdir ../../share/Urho3D/Resources cp -r $resource/{Autoload,CoreData} $oresource > /dev/null 2>&1
mkdir $oresource/Data cp -r $resource/Data/{Fonts,Models,PostProcess,UI,EditorStrings.json} $oresource/Data > /dev/null 2>&1
mkdir $oresource/Data/Materials cp -r $resource/Data/Materials/{Editor,Particle.xml,VColUnlit.xml} $oresource/Data/Materials > /dev/null 2>&1
mkdir $oresource/Data/Scripts cp -r $resource/Data/Scripts/{Editor.as,Editor,Utilities} $oresource/Data/Scripts > /dev/null 2>&1
mkdir $oresource/Data/Textures cp -r $resource/Data/Textures/{Editor,Flare.dds,UI.png,UrhoIcon.png} $oresource/Data/Textures > /dev/null 2>&1
cp -r $resource/{Autoload,CoreData} $oresource mkdir ../../bin > /dev/null 2>&1
cp -r $resource/Data/{Fonts,Models,PostProcess,UI,EditorStrings.json} $oresource/Data cp -r bin/{Editor.sh,Urho3DPlayer} ../../bin > /dev/null 2>&1
cp -r $resource/Data/Materials/{Editor,Particle.xml,VColUnlit.xml} $oresource/Data/Materials mkdir ../../lib > /dev/null 2>&1
cp -r $resource/Data/Scripts/{Editor.as,Editor,Utilities} $oresource/Data/Scripts cp -r lib/Urho3D ../../lib > /dev/null 2>&1
cp -r $resource/Data/Textures/{Editor,Flare.dds,UI.png,UrhoIcon.png} $oresource/Data/Textures
mkdir ../../bin
cp -r bin/{Editor.sh,Urho3DPlayer} ../../bin
mkdir ../../lib
cp -r lib/Urho3D ../../lib
cd ../../ cd ../../
mv Tools/Start.sh ./ mv Tools/Start.sh ./ > /dev/null 2>&1
mv Tools/Editor.sh ./ mv Tools/Editor.sh ./ > /dev/null 2>&1
mv Tools/Update.sh ./ mv Tools/Update.sh ./ > /dev/null 2>&1
rm Download.sh rm Download.sh