From 5fbf8944d726bb86032dbf25fca9dff5874ac437 Mon Sep 17 00:00:00 2001 From: Duncan Tourolle Date: Sat, 19 Sep 2026 20:55:38 +0200 Subject: [PATCH] Count the filler in the APK's bundled-model array The unpack list gained migan-512.onnx without its length following; nothing on the desktop compiles that crate, and the first Android build of 0.13.0 stopped there. --- apps/darkroom-android/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/darkroom-android/src/lib.rs b/apps/darkroom-android/src/lib.rs index 2bd4bbf..461957e 100644 --- a/apps/darkroom-android/src/lib.rs +++ b/apps/darkroom-android/src/lib.rs @@ -333,7 +333,7 @@ fn unpack_bundled_models(app: &slint::android::AndroidApp) { // The int8 forms beside the three detectors are what the Hexagon runs // (docs/inference.md ยง5); the engine loads the sibling when the probe // chose that rung and ignores it otherwise. - const BUNDLED: [(&std::ffi::CStr, &str); 13] = [ + const BUNDLED: [(&std::ffi::CStr, &str); 14] = [ (c"models/scrfd_500m_640.onnx", "scrfd_500m_640.onnx"), ( c"models/scrfd_500m_640.int8.onnx",