(name)
| 361 | }, |
| 362 | |
| 363 | async open(name) { |
| 364 | try { |
| 365 | const desktopName = name.endsWith('.desktop') ? name : `${name}.desktop` |
| 366 | if (commandExists('gtk-launch')) { |
| 367 | await runAsync(['gtk-launch', desktopName]) |
| 368 | return |
| 369 | } |
| 370 | } catch { /* fall through */ } |
| 371 | await runAsync(['xdg-open', name]) |
| 372 | }, |
| 373 | |
| 374 | getFrontmostApp(): FrontmostAppInfo | null { |
| 375 | try { |
nothing calls this directly
no test coverage detected