From 5b9b18107f3cca0e9f8910f5d8398757048d5424 Mon Sep 17 00:00:00 2001 From: hippoz Date: Mon, 8 Nov 2021 00:32:12 +0200 Subject: [PATCH] clarify some wording and ignore stdout for subprocesses (?) --- src/appmanager/provider.js | 4 +++- src/components/AppTileGrid.svelte | 2 +- src/index.js | 4 +++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/appmanager/provider.js b/src/appmanager/provider.js index b3e65b5..b997f98 100644 --- a/src/appmanager/provider.js +++ b/src/appmanager/provider.js @@ -2,10 +2,12 @@ /* Example of an app tile definition: + !!! WARNING: ALL NON-HTTPS IMAGES WILL BE REJECTED BY THE CONTENT POLICY. (in backgroundImageExt) + const myApp = { name: "App", style: { - backgroundImageExt: `url("http://example.com/my-app-logo.svg")`, + backgroundImageExt: `url("https://example.com/my-app-logo.svg")`, backgroundColor: "#ffffff" }, component: null, diff --git a/src/components/AppTileGrid.svelte b/src/components/AppTileGrid.svelte index fcf87ef..0ed13fb 100644 --- a/src/components/AppTileGrid.svelte +++ b/src/components/AppTileGrid.svelte @@ -15,7 +15,7 @@ Nothing to see here!

- 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.

{/if} diff --git a/src/index.js b/src/index.js index a446706..51fead7 100644 --- a/src/index.js +++ b/src/index.js @@ -19,7 +19,9 @@ const createWindow = () => { }; ipcMain.on("spawnAndSuspendRendering", (event, process, args) => { - const proc = spawn(process, args); + const proc = spawn(process, args, { + stdio: "ignore" + }); mainWindow.destroy();