fix: add TODO comment about simplifying in v5

- Current dual-path logic needed for backwards compatibility
- v4.3.0 universal archive has bin/ structure
- Architecture-specific archives have pulse in root
- TODO: Standardize on single structure in v5
This commit is contained in:
Pulse Monitor
2025-08-12 19:21:52 +00:00
parent 2b1cfff00e
commit 535653bb51
+1 -1
View File
@@ -198,7 +198,7 @@ download_pulse() {
tar -xzf pulse.tar.gz -C "$TEMP_EXTRACT"
# Copy Pulse binary (frontend is now embedded)
# Handle both archive layouts (with and without bin directory)
# TODO: Simplify this in v5 - for now handle both structures for compatibility
if [[ -f "$TEMP_EXTRACT/pulse" ]]; then
cp "$TEMP_EXTRACT/pulse" "$INSTALL_DIR/pulse"
elif [[ -f "$TEMP_EXTRACT/bin/pulse" ]]; then