Files
luma/scripts/render-machine-icons.sh
Ole André Vadla Ravnås 0e933206fb Boot virtual machines from the target picker
Add a machine abstraction to LumaCore, with QEMU as its first
backend: templates mirroring frida-core's test guests, a QMP client,
and a display that maps QEMU's surface over D-Bus rather than
copying frames.

Leave readiness to the user: drive the guest, mark it ready, and come
back to that snapshot later. Keep the machine in the project, so
booting it again resumes where it was marked. Hand the stub to
addBareboneDevice, so it joins the picker beside the other devices.

Show the display while booting, and afterwards in a Machines panel,
which the side panel now models as an enum to share its slot.
2026-08-20 14:52:52 +02:00

12 lines
267 B
Bash
Executable File

#!/bin/sh
set -e
root=$(cd "$(dirname "$0")/.." && pwd)
out="$root/Sources/LumaCore/Resources/MachineIcons"
for svg in "$root"/MachineIcons/*.svg; do
name=$(basename "$svg" .svg)
rsvg-convert -w 96 -h 96 -o "$out/$name.png" "$svg"
echo "$name.png"
done