diff --git a/src/Resizetizer/src/GenerateWasmSplashAssets.cs b/src/Resizetizer/src/GenerateWasmSplashAssets.cs index 853dcd5f..2b718e09 100644 --- a/src/Resizetizer/src/GenerateWasmSplashAssets.cs +++ b/src/Resizetizer/src/GenerateWasmSplashAssets.cs @@ -36,7 +36,7 @@ public override bool Execute() System.Diagnostics.Debugger.Launch(); #endif - if (UnoSplashScreen is { Length: 0 }) + if (UnoSplashScreen is null || UnoSplashScreen.Length is 0 ) { Log.LogWarning("Didn't find UnoSplashScreen."); return true;