bambu-printer-mcp 1.1.27 → 1.1.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,33 +0,0 @@
1
- #!/bin/zsh
2
-
3
- # Build the optional macOS adapter that calls Bambu Studio's installed
4
- # networking plug-in at runtime. The plug-in itself is not bundled here.
5
- set -euo pipefail
6
-
7
- if [[ "$(uname -s)" != "Darwin" ]]; then
8
- print -u2 "The Bambu native helper currently supports macOS only."
9
- exit 1
10
- fi
11
-
12
- SCRIPT_DIR="${0:A:h}"
13
- PROJECT_ROOT="${SCRIPT_DIR:h}"
14
- CXX_BIN="${CXX:-clang++}"
15
- OUTPUT="${PROJECT_ROOT}/native/bambu-native-print"
16
- SOURCE="${PROJECT_ROOT}/native/bambu-native-print.cpp"
17
-
18
- if ! command -v "$CXX_BIN" >/dev/null 2>&1; then
19
- print -u2 "C++ compiler not found: $CXX_BIN"
20
- exit 1
21
- fi
22
-
23
- "$CXX_BIN" \
24
- -std=c++17 \
25
- -O2 \
26
- -Wall \
27
- -Wextra \
28
- -o "$OUTPUT" \
29
- "$SOURCE" \
30
- -ldl
31
-
32
- chmod 755 "$OUTPUT"
33
- print "Built $OUTPUT"