File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -76,7 +76,9 @@ download_hearthstone() {
7676}
7777
7878UNITY_ENGINE=Editor/Data/PlaybackEngines/LinuxStandaloneSupport/Variations/linux64_withgfx_nondevelopment_mono
79- UNITY_HUB=/Hub/Editor/2019.4.21f1/$UNITY_ENGINE
79+ UNITY_VER=2019.4.37f1
80+ UNITY_INSTALLER_URL=https://download.unity3d.com/download_unity/019e31cfdb15/LinuxEditorInstaller/Unity.tar.xz
81+ UNITY_HUB=/Hub/Editor/$UNITY_VER /$UNITY_ENGINE
8082
8183check_unity () {
8284 if [ -f " $TARGET_PATH /Bin/Hearthstone.x86_64" ]; then
@@ -99,9 +101,9 @@ check_unity() {
99101}
100102
101103download_unity () {
102- echo -e " ${RED} Unity files not found.\n${GREEN} Downloading Unity 2019.4.21f1 (This version is required for the game to run).${WHITE} \n"
104+ echo -e " ${RED} Unity files not found.\n${GREEN} Downloading Unity ${UNITY_VER} (This version is required for the game to run).${WHITE} \n"
103105 mkdir -p tmp
104- [ ! -f " tmp/Unity.tar.xz" ] && wget -P tmp https://netstorage.unity3d.com/unity/b76dac84db26/LinuxEditorInstaller/Unity.tar.xz
106+ [ ! -f " tmp/Unity.tar.xz" ] && wget -P tmp $UNITY_INSTALLER_URL
105107
106108 echo -e " ${GREEN} Extracting Unity files....${WHITE} \n"
107109 tar -xf tmp/Unity.tar.xz -C tmp $UNITY_ENGINE /LinuxPlayer $UNITY_ENGINE /UnityPlayer.so $UNITY_ENGINE /Data/MonoBleedingEdge/
You can’t perform that action at this time.
0 commit comments