clarify some wording and ignore stdout for subprocesses (?)

This commit is contained in:
hippoz 2021-11-08 00:32:12 +02:00
parent cf2f352d6c
commit 5b9b18107f
Signed by: hippoz
GPG key ID: 7C52899193467641
3 changed files with 7 additions and 3 deletions

View file

@ -2,10 +2,12 @@
/* /*
Example of an app tile definition: Example of an app tile definition:
!!! WARNING: ALL NON-HTTPS IMAGES WILL BE REJECTED BY THE CONTENT POLICY. (in backgroundImageExt)
const myApp = { const myApp = {
name: "App", name: "App",
style: { style: {
backgroundImageExt: `url("http://example.com/my-app-logo.svg")`, backgroundImageExt: `url("https://example.com/my-app-logo.svg")`,
backgroundColor: "#ffffff" backgroundColor: "#ffffff"
}, },
component: null, component: null,

View file

@ -15,7 +15,7 @@
Nothing to see here! Nothing to see here!
</h1> </h1>
<p> <p>
You must first specify which apps tiles to have on the home screen by editing `appmanager/provider.js`. This will be easier in the future. You must first specify which apps tiles to have on the home screen by editing `src/appmanager/provider.js`. This will be easier in the future.
</p> </p>
</div> </div>
{/if} {/if}

View file

@ -19,7 +19,9 @@ const createWindow = () => {
}; };
ipcMain.on("spawnAndSuspendRendering", (event, process, args) => { ipcMain.on("spawnAndSuspendRendering", (event, process, args) => {
const proc = spawn(process, args); const proc = spawn(process, args, {
stdio: "ignore"
});
mainWindow.destroy(); mainWindow.destroy();