Skip to content

Commit af339af

Browse files
committed
download-dependencies: use unix style line endings
1 parent 50bc640 commit af339af

22 files changed

+82
-64
lines changed

tools/download-dependencies-companion-app/download-compiletimetracker.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh
1+
#!/bin/sh
22

33
old_dir=$(pwd)
44

@@ -29,3 +29,4 @@ echo "{ \"name\": \"CompileTimeTrackerEditor\", \"includePlatforms\": [\"Editor\
2929
cd "$old_dir"
3030
echo "Downloading CompileTimeTracker done"
3131
echo ""
32+
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh
1+
#!/bin/sh
22
sh download-unirx.sh
33
sh download-serilog.sh
4-
sh download-leantween.sh
4+
sh download-leantween.sh

tools/download-dependencies-companion-app/download-leantween.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh
1+
#!/bin/sh
22

33
old_dir=$(pwd)
44

@@ -29,3 +29,4 @@ rm -rf .git
2929
cd "$old_dir"
3030
echo "Downloading LeanTween done"
3131
echo ""
32+

tools/download-dependencies-companion-app/download-serilog.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh
1+
#!/bin/sh
22

33
old_dir=$(pwd)
44

@@ -55,4 +55,4 @@ rm Properties/AssemblyInfo.cs
5555

5656
cd "$old_dir"
5757
echo "Downloading Serilog.Sinks.File done"
58-
echo ""
58+
echo ""

tools/download-dependencies-companion-app/download-unirx.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh
1+
#!/bin/sh
22

33
old_dir=$(pwd)
44

@@ -26,3 +26,4 @@ rm -rf .git
2626
cd "$old_dir"
2727
echo "Downloading UniRx done"
2828
echo ""
29+

tools/download-dependencies-main-game/download-compiletimetracker.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh
1+
#!/bin/sh
22

33
old_dir=$(pwd)
44

@@ -29,3 +29,4 @@ echo "{ \"name\": \"CompileTimeTrackerEditor\", \"includePlatforms\": [\"Editor\
2929
cd "$old_dir"
3030
echo "Downloading CompileTimeTracker done"
3131
echo ""
32+

tools/download-dependencies-main-game/download-csharpsynthforunity.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh
1+
#!/bin/sh
22

33
old_dir=$(pwd)
44

@@ -25,3 +25,4 @@ rm -rf .git
2525
cd "$old_dir"
2626
echo "Downloading CSharpSynthForUnity done"
2727
echo ""
28+
Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
1-
#!/bin/sh
2-
sh download-leantween.sh
3-
sh download-unirx.sh
4-
sh download-csharpsynthforunity.sh
5-
sh download-text-mesh-pro-resources.sh
6-
sh download-serilog.sh
7-
sh download-jokenizer.sh
8-
sh download-dynamicqueryable.sh
9-
sh download-spleetersharp.sh
10-
sh download-unitystandalonefilebrowser.sh
11-
sh download-lrcparser.sh
12-
sh download-litenetlib.sh
13-
sh download-nhyphenator.sh
14-
sh download-jsonnet-contractresolvers.sh
1+
#!/bin/sh
2+
sh download-leantween.sh
3+
sh download-unirx.sh
4+
sh download-csharpsynthforunity.sh
5+
sh download-text-mesh-pro-resources.sh
6+
sh download-serilog.sh
7+
sh download-jokenizer.sh
8+
sh download-dynamicqueryable.sh
9+
sh download-spleetersharp.sh
10+
sh download-unitystandalonefilebrowser.sh
11+
sh download-lrcparser.sh
12+
sh download-litenetlib.sh
13+
sh download-nhyphenator.sh
14+
sh download-jsonnet-contractresolvers.sh
15+
1516

tools/download-dependencies-main-game/download-dynamicqueryable.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh
1+
#!/bin/sh
22

33
old_dir=$(pwd)
44

@@ -28,3 +28,4 @@ rm -rf Properties
2828
cd "$old_dir"
2929
echo "Downloading DynamicQueryable done"
3030
echo ""
31+

tools/download-dependencies-main-game/download-jokenizer.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh
1+
#!/bin/sh
22

33
old_dir=$(pwd)
44

@@ -29,3 +29,4 @@ rm -rf Properties
2929
cd "$old_dir"
3030
echo "Downloading Jokenizer.Net done"
3131
echo ""
32+

tools/download-dependencies-main-game/download-jsonnet-contractresolvers.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh
1+
#!/bin/sh
22

33
old_dir=$(pwd)
44

@@ -28,3 +28,4 @@ echo "{ \"name\": \"JsonNet.ContractResolvers\", \"includePlatforms\": [], \"ref
2828
cd "$old_dir"
2929
echo "Downloading JsonNet.ContractResolvers done"
3030
echo ""
31+

tools/download-dependencies-main-game/download-leantween.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh
1+
#!/bin/sh
22

33
old_dir=$(pwd)
44

@@ -29,3 +29,4 @@ rm -rf .git
2929
cd "$old_dir"
3030
echo "Downloading LeanTween done"
3131
echo ""
32+

tools/download-dependencies-main-game/download-litenetlib.sh

Lines changed: 27 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,28 @@
1-
#!/bin/sh
1+
#!/bin/sh
2+
3+
old_dir=$(pwd)
4+
5+
cd "../../UltraStar Play/Packages/playshared/Runtime/Plugins"
6+
echo "Removing old LiteNetLib folder..."
7+
rm -rf LiteNetLib
8+
mkdir LiteNetLib
9+
cd LiteNetLib
10+
11+
echo "Cloning LiteNetLib from remote..."
12+
git init
13+
git remote add origin https://github.com/RevenantX/LiteNetLib.git
14+
git config core.sparsecheckout true
15+
echo "LiteNetLib/*" >> .git/info/sparse-checkout
16+
git pull --depth=100 origin master
17+
# Commit from 24 April 2023: 47d57213baa96d4b343741c6ff3c2eedde961d46
18+
git checkout 47d57213baa96d4b343741c6ff3c2eedde961d46
19+
20+
echo "Moving downloaded files to correct position for this project..."
21+
mv -v LiteNetLib/* ./
22+
rm -rf ./LiteNetLib
23+
rm -rf .git
24+
25+
cd "$old_dir"
26+
echo "Downloading LiteNetLib done"
27+
echo ""
228

3-
old_dir=$(pwd)
4-
5-
cd "../../UltraStar Play/Packages/playshared/Runtime/Plugins"
6-
echo "Removing old LiteNetLib folder..."
7-
rm -rf LiteNetLib
8-
mkdir LiteNetLib
9-
cd LiteNetLib
10-
11-
echo "Cloning LiteNetLib from remote..."
12-
git init
13-
git remote add origin https://github.com/RevenantX/LiteNetLib.git
14-
git config core.sparsecheckout true
15-
echo "LiteNetLib/*" >> .git/info/sparse-checkout
16-
git pull --depth=100 origin master
17-
# Commit from 24 April 2023: 47d57213baa96d4b343741c6ff3c2eedde961d46
18-
git checkout 47d57213baa96d4b343741c6ff3c2eedde961d46
19-
20-
echo "Moving downloaded files to correct position for this project..."
21-
mv -v LiteNetLib/* ./
22-
rm -rf ./LiteNetLib
23-
rm -rf .git
24-
25-
cd "$old_dir"
26-
echo "Downloading LiteNetLib done"
27-
echo ""

tools/download-dependencies-main-game/download-lrcparser.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh
1+
#!/bin/sh
22

33
old_dir=$(pwd)
44

@@ -28,3 +28,4 @@ rm -rf .git
2828
cd "$old_dir"
2929
echo "Downloading Opportunity.LrcParser done"
3030
echo ""
31+

tools/download-dependencies-main-game/download-nhyphenator.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh
1+
#!/bin/sh
22

33
old_dir=$(pwd)
44

@@ -26,3 +26,4 @@ yphenator\", \"includePlatforms\": [], \"references\": [] }" > "./NHyphenator.a
2626
cd "$old_dir"
2727
echo "Downloading NHyphenator done"
2828
echo ""
29+

tools/download-dependencies-main-game/download-onejs.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh
1+
#!/bin/sh
22

33
old_dir=$(pwd)
44

@@ -27,3 +27,4 @@ rm -rf .git
2727
cd "$old_dir"
2828
echo "Downloading OneJS done"
2929
echo ""
30+

tools/download-dependencies-main-game/download-serilog.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh
1+
#!/bin/sh
22

33
old_dir=$(pwd)
44

@@ -55,4 +55,4 @@ rm Properties/AssemblyInfo.cs
5555

5656
cd "$old_dir"
5757
echo "Downloading Serilog.Sinks.File done"
58-
echo ""
58+
echo ""

tools/download-dependencies-main-game/download-soundfonts.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh
1+
#!/bin/sh
22

33
old_dir=$(pwd)
44

@@ -14,3 +14,4 @@ wget -O MuseScore_General.sf2.bytes https://ftp.osuosl.org/pub/musescore/soundfo
1414
cd "$old_dir"
1515
echo "Downloading Soundfonts done"
1616
echo ""
17+

tools/download-dependencies-main-game/download-spleetersharp.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh
1+
#!/bin/sh
22

33
old_dir=$(pwd)
44

@@ -28,3 +28,4 @@ echo "{ \"name\": \"SpleeterSharp\", \"includePlatforms\": [], \"references\": [
2828
cd "$old_dir"
2929
echo "Downloading SpleeterSharp done"
3030
echo ""
31+

tools/download-dependencies-main-game/download-unirx.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh
1+
#!/bin/sh
22

33
old_dir=$(pwd)
44

@@ -26,3 +26,4 @@ rm -rf .git
2626
cd "$old_dir"
2727
echo "Downloading UniRx done"
2828
echo ""
29+

tools/download-dependencies-main-game/download-unitystandalonefilebrowser.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh
1+
#!/bin/sh
22

33
old_dir=$(pwd)
44

@@ -28,3 +28,4 @@ echo "{ \"name\": \"UnityStandaloneFileBrowser\", \"includePlatforms\": [], \"re
2828
cd "$old_dir"
2929
echo "Downloading UnityStandaloneFileBrowser done"
3030
echo ""
31+

tools/setup.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
old_dir=$(pwd)
1+
old_dir=$(pwd)
22

33
echo "Downloading dependencies of main game"
44
echo "==========================="
@@ -17,4 +17,4 @@ cd "$old_dir"
1717

1818
echo "Create empty VERSION.txt file if it does not exist"
1919
touch "../UltraStar Play/Assets/VERSION.txt"
20-
touch "../UltraStar Play Companion/Assets/VERSION.txt"
20+
touch "../UltraStar Play Companion/Assets/VERSION.txt"

0 commit comments

Comments
 (0)