-
Notifications
You must be signed in to change notification settings - Fork 205
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Godot: update to official 4.3 release and add auto-updater
- Loading branch information
1 parent
cd86153
commit 32fb784
Showing
9 changed files
with
42 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/bash | ||
|
||
version=$(get_release godotengine/godot) | ||
armhf_url=https://github.com/godotengine/godot/releases/download/${version}/Godot_v${version}_linux.arm32.zip | ||
arm64_url=https://github.com/godotengine/godot/releases/download/${version}/Godot_v${version}_linux.arm64.zip | ||
|
||
source $GITHUB_WORKSPACE/.github/workflows/update_github_script.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
Credits to Irtexo for putting it on Pi-Apps. | ||
Credits to Hiulit for porting it to the Raspberry Pi. | ||
Credits to Juan Linietsky and Ariel Manzur for creating Godot Engine. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
Open Source Game Engine that runs fine on the Raspberry Pi (for 2d games). | ||
For the export instructions for Raspberry Pi, go to the website. | ||
This software will only run on the Raspberry Pi 4/Raspberry Pi 400. | ||
GLES2 projects are recommended. | ||
Your free, open‑source game engine. | ||
Develop your 2D & 3D games, cross-platform projects, or even XR ideas! | ||
|
||
Godot 4.X requires Vulkan 1.0, OpenGL 3.3, or OpenGLES 3.0 compatible hardware (eg: Pi4 and newer) | ||
To run from GUI: Menu -> Programming -> Godot | ||
To run in a terminal: ~/Godot/godot_*-stable_rpi4_editor* | ||
To run in a terminal: godot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#!/bin/bash | ||
version=4.3-stable | ||
|
||
case "$arch" in | ||
"64") wget -O /tmp/godot.zip https://github.com/godotengine/godot/releases/download/${version}/Godot_v${version}_linux.arm64.zip || exit 1 ;; | ||
"32") wget -O /tmp/godot.zip https://github.com/godotengine/godot/releases/download/${version}/Godot_v${version}_linux.arm32.zip || exit 1 ;; | ||
*) error "Failed to detect OS CPU architecture! Something is very wrong." ;; | ||
esac | ||
|
||
sudo rm -rf /opt/godot-${version} /usr/local/bin/godot /usr/local/share/applications/godot-engine.desktop | ||
sudo unzip /tmp/godot.zip -d /opt/godot-${version} || error "Failed to extract godot to /opt directory" | ||
rm -f /tmp/godot.zip | ||
|
||
case "$arch" in | ||
"64") sudo ln -s /opt/godot-${version}/Godot_v${version}_linux.arm64 /usr/local/bin/godot || error "Failed to create godot symlink" ;; | ||
"32") sudo ln -s /opt/godot-${version}/Godot_v${version}_linux.arm32 /usr/local/bin/godot || error "Failed to create godot symlink" ;; | ||
*) error "Failed to detect OS CPU architecture! Something is very wrong." ;; | ||
esac | ||
|
||
echo "[Desktop Entry] | ||
Name=Godot Engine | ||
Comment=Your free, open‑source game engine. | ||
Exec=/usr/local/bin/godot | ||
Icon=$(dirname $0)/icon-64.png | ||
Terminal=false | ||
Type=Application | ||
Categories=Development; | ||
StartupNotify=true" | sudo tee /usr/local/share/applications/godot-engine.desktop > /dev/null |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
#!/bin/bash | ||
rm -f ~/.local/share/applications/godotengine.desktop | ||
rm -f ~/.local/share/applications/godot-engine.desktop | ||
rm -rf ~/Godot | ||
|
||
exit 0 | ||
sudo rm -rf /usr/local/share/applications/godot-engine.desktop /opt/godot-*-stable /usr/local/bin/godot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
https://github.com/hiulit/Unofficial-Godot-Engine-Raspberry-Pi | ||
https://godotengine.org/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters