Files
FWS-DiskCleaner/run.sh
T
BlackAngelTV 977b1c35a9 feat: add treemap disk space analyzer
Users need to see at a glance what fills a disk and to remove the largest
entries without digging through a file manager. The treemap makes sizes
comparable, the scan runs off the UI thread, and removing an entry updates
the tree in place instead of rescanning.
2026-11-27 07:41:04 +01:00

13 lines
363 B
Bash
Executable File

#!/usr/bin/env bash
# Configure, build and launch the disk cleaner. Nothing is scanned unless a
# folder is given: ./run.sh ~/Téléchargements
set -euo pipefail
root="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
build="$root/build"
cmake -B "$build" -S "$root" -DCMAKE_BUILD_TYPE=Release
cmake --build "$build" --parallel
exec "$build/fws-diskcleaner" "$@"