chore: fix stale packaging and monitor references to the deleted tree

cc
This commit is contained in:
vicrodh committed 2026-07-10 01:05:47 -06:00
1 parent 15ff525d43
commit a9949b8cf2
3 files changed
+7 -26

No files matched your search

-3
View File
@@ -89,7 +89,4 @@ modules:
path: ../..
skip:
- .git
- node_modules
- src-tauri/target
- crates/target
- .svelte-kit
+2 -5
View File
@@ -1,11 +1,8 @@
# Canonical app icons
Canonical icon source for every Linux/macOS packager (nfpm deb/rpm, AppImage,
tarball, flatpak, snap, ebuilds, PKGBUILDs). Copied out of `src-tauri/icons/`
on 2026-07-02 so packaging stops depending on the retired Tauri tree —
`src-tauri/` is reference-only and will eventually be deleted.
tarball, flatpak, snap, ebuilds, PKGBUILDs). This directory is the single
source of truth — the old `src-tauri/icons/` tree was removed in 2.0.2.
- `NNxNN.png` — hicolor sizes (32/48/64/128/256/512, plus `128x128@2x`)
- `icon.icns` — macOS bundle icon
If the artwork ever changes, update BOTH copies (or delete the src-tauri one).
+5 -18
View File
@@ -6,12 +6,12 @@ echo "=== QBZ Resource Monitor ==="
echo "Waiting for QBZ process..."
echo ""
# Wait for process to start
while ! pgrep -f "qbz-nix" > /dev/null 2>&1; do
# Wait for process to start (Slint binary is named "qbz")
while ! pgrep -x "qbz" > /dev/null 2>&1; do
sleep 0.5
done
PID=$(pgrep -f "qbz-nix" | head -1)
PID=$(pgrep -x "qbz" | head -1)
echo "Found QBZ PID: $PID"
echo ""
echo "Press Ctrl+C to stop monitoring"
@@ -31,22 +31,9 @@ while true; do
MEM_MB=$((MEM / 1024))
THREADS=$(ps -p "$PID" -o nlwp= 2>/dev/null | tr -d ' ')
# Get WebKit process if exists
WEBKIT_PID=$(pgrep -f "WebKitWebProcess" | head -1 2>/dev/null)
if [[ -n "$WEBKIT_PID" ]]; then
WEBKIT_MEM=$(ps -p "$WEBKIT_PID" -o rss= 2>/dev/null | tr -d ' ')
WEBKIT_MB=$((WEBKIT_MEM / 1024))
WEBKIT_CPU=$(ps -p "$WEBKIT_PID" -o %cpu= 2>/dev/null | tr -d ' ')
else
WEBKIT_MB=0
WEBKIT_CPU=0
fi
TOTAL_MB=$((MEM_MB + WEBKIT_MB))
# Print stats
printf "\r[QBZ] CPU: %5s%% | RAM: %4dMB | Threads: %2s | [WebKit] CPU: %5s%% | RAM: %4dMB | TOTAL: %4dMB" \
"$CPU" "$MEM_MB" "$THREADS" "$WEBKIT_CPU" "$WEBKIT_MB" "$TOTAL_MB"
printf "\r[QBZ] CPU: %5s%% | RAM: %4dMB | Threads: %2s" \
"$CPU" "$MEM_MB" "$THREADS"
sleep 1
done