diff --git a/justfile b/justfile index e3cb57c..ddb7946 100644 --- a/justfile +++ b/justfile @@ -1,14 +1,15 @@ godot_project := "./project.godot" -godot_url := "https://downloads.tuxfamily.org/godotengine/4.0/alpha15/Godot_v4.0-alpha15_linux.x86_64.zip" -godot_exe := "Godot_v4.0-alpha15_linux.x86_64" +godot_version := "4.0.1-stable" +godot_exe := "Godot_v" + godot_version + "_linux.x86_64" +godot_url := "https://github.com/godotengine/godot/releases/download/" + godot_version + "/" + godot_exe + ".zip" godot_exe_dir := "~/bin" -godot_path := godot_exe_dir + "/" + godot_exe +godot_path := godot_exe_dir / godot_exe setup: #!/usr/bin/env bash set -euo pipefail if [ ! -e {{godot_path}} ]; then - curl {{godot_url}} -O + curl {{godot_url}} -LO unzip Godot*.zip mkdir -p {{godot_exe_dir}} mv {{godot_exe}} {{godot_exe_dir}} @@ -19,7 +20,7 @@ setup: # nixGL zig build run godot: setup - {{godot_exe}} + {{godot_path}} edit: setup - {{godot_exe}} {{godot_project}} + {{godot_path}} {{godot_project}} diff --git a/project.godot b/project.godot index 1ed343c..a81b241 100644 --- a/project.godot +++ b/project.godot @@ -12,7 +12,7 @@ config_version=5 config/name="Space Explo" run/main_scene="res://level.tscn" -config/features=PackedStringArray("4.0", "Vulkan Clustered") +config/features=PackedStringArray("4.0") config/icon="res://icon.svg" [display]