app: add applications from a dialog, with icons and a running state
The add row under the sources offered a type selector for device sources, which the daemon cannot capture reliably, and nothing told a right process name from a wrong one. A plus in the card header now opens a dialog asking for a name and a process, and Add stays grey until both are filled. Every source shows its executable's icon, read from the running process or found on disk when the program is closed, and a chip saying whether that process is running. The process table is read off the UI thread every couple of seconds while the audio tab is open, and the disk search remembers its misses so a name costs one walk per run. Settings drops Refresh and Settings from the title bar, where both only repeated what the screen already shows.
This commit is contained in:
1 parent
3dfef1961d
commit
c7fee5beeb
8 files changed
+805
-203
No files matched your search
@@ -25,6 +25,11 @@ ureq = "3.5"
|
||||
|
||||
[target.'cfg(windows)'.dependencies]
|
||||
winreg = "0.56"
|
||||
windows = { version = "0.62", features = [
|
||||
"Win32_Foundation",
|
||||
"Win32_System_Diagnostics_ToolHelp",
|
||||
"Win32_System_Threading",
|
||||
] }
|
||||
|
||||
# Rune is patched in the workspace that builds it. A dependency's `[patch]` doesn't apply to
|
||||
# the app that depends on it, so these three copies (from rune's own vendor/) are repeated here.
|
||||
|
||||
Reference in new issue
Block a user