Browse Source

Merge pull request 'master' (#2) from Tolstoevsky/LibreU3DSDK:master into master

Reviewed-on: http://git.macaw.me:3000/LibreHacker/LibreU3DSDK/pulls/2
master
LibreHacker 9 months ago
parent
commit
02b7882039
1 changed files with 14 additions and 19 deletions
  1. +14
    -19
      Download.sh

+ 14
- 19
Download.sh View File

@ -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
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

Loading…
Cancel
Save