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