Upgrade the godot version
This commit is contained in:
parent
3ed4ce4419
commit
27646e11b7
1 changed files with 3 additions and 3 deletions
|
@ -13,17 +13,17 @@ else
|
||||||
rm -rf "$destination";
|
rm -rf "$destination";
|
||||||
fi
|
fi
|
||||||
|
|
||||||
wget https://github.com/godotengine/godot/releases/download/3.5.1-stable/Godot_v3.5.1-stable_mono_x11_64.zip -O "$archiveName";
|
wget https://github.com/godotengine/godot/releases/download/4.0-stable/Godot_v4.0-stable_mono_linux_x86_64.zip -O "$archiveName";
|
||||||
unzip "$archiveName" -d "$tempDir";
|
unzip "$archiveName" -d "$tempDir";
|
||||||
mkdir -p "$destination";
|
mkdir -p "$destination";
|
||||||
mv "$tempDir"/*/* "$destination";
|
mv "$tempDir"/*/* "$destination";
|
||||||
wget https://github.com/godotengine/godot/raw/3.5.1-stable/icon.svg -O "$destination/icon.svg";
|
wget https://github.com/godotengine/godot/raw/4.0-stable/icon.svg -O "$destination/icon.svg";
|
||||||
|
|
||||||
rm -rf "$tempDir";
|
rm -rf "$tempDir";
|
||||||
rm -f "$archiveName";
|
rm -f "$archiveName";
|
||||||
|
|
||||||
exeFile="$(find "$destination" -maxdepth 1 -perm -111 -type f)";
|
exeFile="$(find "$destination" -maxdepth 1 -perm -111 -type f)";
|
||||||
ln -s "$exeFile" /usr/local/bin/godot;
|
ln -fs "$exeFile" /usr/local/bin/godot;
|
||||||
|
|
||||||
{
|
{
|
||||||
echo "[Desktop Entry]";
|
echo "[Desktop Entry]";
|
||||||
|
|
Loading…
Reference in a new issue