clarify some wording and ignore stdout for subprocesses (?)
This commit is contained in:
parent
cf2f352d6c
commit
5b9b18107f
3 changed files with 7 additions and 3 deletions
|
@ -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,
|
||||||
|
|
|
@ -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}
|
||||||
|
|
|
@ -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();
|
||||||
|
|
||||||
|
|
Reference in a new issue