update submodules before generation

This commit is contained in:
Rune
2026-03-06 15:48:47 +01:00
parent e756a355fa
commit f41a145b67
2 changed files with 6 additions and 2 deletions

View File

@@ -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");