From a370993d8b9ce161d0b74808e8139c7696975bfc Mon Sep 17 00:00:00 2001 From: Tolstoevsky Date: Fri, 31 Jul 2020 12:35:51 +0000 Subject: [PATCH 1/2] Update 'Download.sh' making it silent --- Download.sh | 37 ++++++++++++++++--------------------- 1 file changed, 16 insertions(+), 21 deletions(-) diff --git a/Download.sh b/Download.sh index 91028f9..079baac 100755 --- a/Download.sh +++ b/Download.sh @@ -1,29 +1,24 @@ #!/bin/bash urho3d=Urho3D-1.8-ALPHA.145-Linux-64bit-SHARED-snapshot -mkdir Urho3D +mkdir Urho3D > /dev/null 2>&1 cd Urho3D -wget https://sourceforge.net/projects/urho3d/files/Urho3D/Snapshots/$urho3d.tar.gz/download -O Urho3D.tar.gz -tar -xvzf Urho3D.tar.gz > Urho3D.log +#wget https://sourceforge.net/projects/urho3d/files/Urho3D/Snapshots/$urho3d.tar.gz/download -O Urho3D.tar.gz +#tar -xvzf Urho3D.tar.gz > Urho3D.log cd $urho3d resource=share/Urho3D/Resources oresource=../../$resource -mkdir ../../share/Urho3D -mkdir ../../share/Urho3D/Resources -mkdir $oresource/Data -mkdir $oresource/Data/Materials -mkdir $oresource/Data/Scripts -mkdir $oresource/Data/Textures -cp -r $resource/{Autoload,CoreData} $oresource -cp -r $resource/Data/{Fonts,Models,PostProcess,UI,EditorStrings.json} $oresource/Data -cp -r $resource/Data/Materials/{Editor,Particle.xml,VColUnlit.xml} $oresource/Data/Materials -cp -r $resource/Data/Scripts/{Editor.as,Editor,Utilities} $oresource/Data/Scripts -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 +mkdir -p ../../$resource/Data/{Materials,Scripts,Textures} > /dev/null 2>&1 +cp -r $resource/{Autoload,CoreData} $oresource > /dev/null 2>&1 +cp -r $resource/Data/{Fonts,Models,PostProcess,UI,EditorStrings.json} $oresource/Data > /dev/null 2>&1 +cp -r $resource/Data/Materials/{Editor,Particle.xml,VColUnlit.xml} $oresource/Data/Materials > /dev/null 2>&1 +cp -r $resource/Data/Scripts/{Editor.as,Editor,Utilities} $oresource/Data/Scripts > /dev/null 2>&1 +cp -r $resource/Data/Textures/{Editor,Flare.dds,UI.png,UrhoIcon.png} $oresource/Data/Textures > /dev/null 2>&1 +mkdir ../../bin > /dev/null 2>&1 +cp -r bin/{Editor.sh,Urho3DPlayer} ../../bin > /dev/null 2>&1 +mkdir ../../lib > /dev/null 2>&1 +cp -r lib/Urho3D ../../lib > /dev/null 2>&1 cd ../../ -mv Tools/Start.sh ./ -mv Tools/Editor.sh ./ -mv Tools/Update.sh ./ +mv Tools/Start.sh ./ > /dev/null 2>&1 +mv Tools/Editor.sh ./ > /dev/null 2>&1 +mv Tools/Update.sh ./ > /dev/null 2>&1 rm Download.sh From c9113e3e570eafd30666fad6443d74ceea917593 Mon Sep 17 00:00:00 2001 From: Tolstoevsky Date: Sat, 1 Aug 2020 06:02:37 +0000 Subject: [PATCH 2/2] Update 'Download.sh' --- Download.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Download.sh b/Download.sh index 079baac..793f376 100755 --- a/Download.sh +++ b/Download.sh @@ -2,8 +2,8 @@ urho3d=Urho3D-1.8-ALPHA.145-Linux-64bit-SHARED-snapshot mkdir Urho3D > /dev/null 2>&1 cd Urho3D -#wget https://sourceforge.net/projects/urho3d/files/Urho3D/Snapshots/$urho3d.tar.gz/download -O Urho3D.tar.gz -#tar -xvzf Urho3D.tar.gz > Urho3D.log +wget https://sourceforge.net/projects/urho3d/files/Urho3D/Snapshots/$urho3d.tar.gz/download -O Urho3D.tar.gz +tar -xvzf Urho3D.tar.gz > Urho3D.log cd $urho3d resource=share/Urho3D/Resources oresource=../../$resource