commit | b53fa1b8603315858431af393b0022a933acf8cf | [log] [tgz] |
---|---|---|
author | Sui Chen <suichen@google.com> | Thu May 26 00:16:42 2022 -0700 |
committer | Andrew Jeffery <andrew@aj.id.au> | Thu Jun 02 01:24:00 2022 +0000 |
tree | 71c70abab654e2fb39c744606ce606963e5c1cde | |
parent | b3ef7f2b4419d818427612584c579e7534ceb460 [diff] |
dbus-vis: Use IPC for open file dialog Previously, the "open file" dialog is opened in the renderer thread running "initialization.js". This change moves the dialog to the main thread (main.js) so that the renderer thread emits a "file-request" request and the main thread answers with a "filename" response. This IPC paradigm is required for newer versions of Electron, because the "dialog" module cannot be imported in renderer threads in those newer versions. Signed-off-by: Sui Chen <suichen@google.com> Change-Id: Ifd324688bb8a4dbdc6a5f86082fb3d205af0d77a
The goal of this repository is to collect the two-minute hacks you write to automate interactions with OpenBMC systems.
It's highly likely the scripts don't meet your needs - they could be undocumented, dysfunctional or utterly broken. Please help us improve!
Then this repository aims to be the default destination for your otherwise un-homed scripts. As such we are setting the bar for submission pretty low, and we aim to make the process as easy as possible.
Please use gerrit for all patches to this repository:
Do note that you will need to be party to the OpenBMC CLA before your contributions can be accepted. See Gerrit Setup and CLA for more information.
So long as your patches look sane with a cursory glance you can expect them to be applied. We may push back in the event that similar tools already exist or there are egregious issues.
We don't ask for much, but you need to give us at least a Signed-off-by, use SPDX markers in your source files and put your work under an Apache 2.0 compatible license.
There's no standard way to install the scripts housed here, and adding parts of the repository to your PATH might be a bit of a dice-roll. We may also move or remove scripts from time to time as part of housekeeping. It's probably best to copy things out if you need stability.