- Block 1: Refactored path logic into a centralized PathResolver for OS-agnostic and relative path handling. - Block 2: Improved platform compatibility (shutdown, macOS menu, System Tray fallback). - Block 3: Added Power-User features (Model Updater, Smart Cleanup, Thumbnails, Node Sync, Remote Status). - Fixes: Recursive subfolder scanning, archive detection logic, and UI progress throttling.
12 lines
289 B
Bash
12 lines
289 B
Bash
#!/bin/bash
|
|
echo "=== Building ComfyUI Model Downloader ==="
|
|
mvn clean package -DskipTests
|
|
if [ $? -ne 0 ]; then
|
|
echo "[ERROR] Build failed!"
|
|
exit 1
|
|
fi
|
|
|
|
echo ""
|
|
echo "=== Starting Application ==="
|
|
java --enable-native-access=ALL-UNNAMED -jar target/ComfyUIModelDownloader.jar "$@"
|