Skip to content

Qwen3.8-Flash-Next on any consumer hardware: one-click install for Windows / Linux. Strata inference engine, OpenAI/Anthropic API on localhost, optional image input.

C++

make-tester-readme: templates may have CRLF (archives of a Windows checkout)

Niko12219d868f38e8a7
diff --git a/apps/desktop/scripts/make-tester-readme.sh b/apps/desktop/scripts/make-tester-readme.sh
index 557f192cc..00762eb19 100644
--- a/apps/desktop/scripts/make-tester-readme.sh
+++ b/apps/desktop/scripts/make-tester-readme.sh
@@ -53,8 +53,8 @@ TDIR="$(cd "$(dirname "$TEMPLATE")" && pwd)"
TMP="$(mktemp)"; trap 'rm -f "$TMP" "$TMP.2"' EXIT
# includes first (one level), then the placeholders
while IFS= read -r line || [ -n "$line" ]; do
- if [[ "$line" =~ ^@INCLUDE:([^@]+)@$ ]]; then cat "$TDIR/${BASH_REMATCH[1]}"; else printf '%s\n' "$line"; fi
-done < "$TEMPLATE" | sed "s|@APPIMAGE@|$APPIMAGE|g" > "$TMP"
+ if [[ "$line" =~ ^@INCLUDE:([^@]+)@$ ]]; then tr -d " " < "$TDIR/${BASH_REMATCH[1]}"; else printf '%s\n' "$line"; fi
+done < <(tr -d " " < "$TEMPLATE") | sed "s|@APPIMAGE@|$APPIMAGE|g" > "$TMP"
# @SHA256:name@ and @SIZE_GB:name@
while IFS= read -r token; do