From f41a145b67c196a1d03efd8ee96646194eac6ade Mon Sep 17 00:00:00 2001 From: Rune Date: Fri, 6 Mar 2026 15:48:47 +0100 Subject: [PATCH] update submodules before generation --- .gitignore | 2 +- Setup/src/Program.bf | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index c92fda7..cc8211e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ build recovery BeefSpace_User.toml -CxxBuilderPath.toml \ No newline at end of file +CxxBuilderPath.txt \ No newline at end of file diff --git a/Setup/src/Program.bf b/Setup/src/Program.bf index 2ffbcf8..331bae2 100644 --- a/Setup/src/Program.bf +++ b/Setup/src/Program.bf @@ -326,7 +326,11 @@ class Program public static int Main(String[] args) { - //Runtime.Assert(system("git -C .. submodule update") == 0, "Failed to fetch SDL3, check your internet connection"); + if (system("git -C .. submodule update") != 0) + { + Console.WriteLine("Failed to fetch SDL3, check your internet connection"); + return 1; + } { StreamWriter all = scope .()..Create("SDL3_all.h");