diff --git a/docz/docs/03-demos/03-desktop/01-electron.md b/docz/docs/03-demos/03-desktop/01-electron.md index 7f1bb80..0459014 100644 --- a/docz/docs/03-demos/03-desktop/01-electron.md +++ b/docz/docs/03-demos/03-desktop/01-electron.md @@ -16,10 +16,15 @@ from the main or the renderer thread. The "Complete Example" creates an app that looks like the screenshots below: +
Win10 macOS Linux
+![Win10 screenshot](pathname:///electron/ew.png) + + + ![macOS screenshot](pathname:///electron/em.png) @@ -175,7 +180,7 @@ function exportFile(workbook) { :::note -This demo was tested on 2023 February 09 with Electron 23.0.0. +This demo was tested on 2023 February 20 with Electron 23.0.0. ::: diff --git a/docz/docs/03-demos/03-desktop/02-nwjs.md b/docz/docs/03-demos/03-desktop/02-nwjs.md index 154540c..9bdbc27 100644 --- a/docz/docs/03-demos/03-desktop/02-nwjs.md +++ b/docz/docs/03-demos/03-desktop/02-nwjs.md @@ -16,10 +16,15 @@ referenced in a `SCRIPT` tag from the entry point HTML page. The "Complete Example" creates an app that looks like the screenshots below: +
Win10 macOS Linux
+![Win10 screenshot](pathname:///nwjs/nww.png) + + + ![macOS screenshot](pathname:///nwjs/nwm.png) @@ -102,7 +107,7 @@ input.click(); :::note -This demo was tested against NW.js 0.66.0 on 2023 January 07. +This demo was tested against NW.js 0.73.0 on 2023 February 20. ::: @@ -115,7 +120,7 @@ This demo was tested against NW.js 0.66.0 on 2023 January 07. "version": "0.0.0", "main": "index.html", "dependencies": { - "nw": "~0.66.0", + "nw": "~0.73.0", "xlsx": "https://cdn.sheetjs.com/xlsx-latest/xlsx-latest.tgz" } } @@ -130,6 +135,12 @@ try to load the page in your browser. The goal is to save the file contents. ::: +In the terminal window, the download can be performed with: + +```bash +curl -LO https://docs.sheetjs.com/nwjs/index.html +``` + 3) Run `npm install` to install dependencies 4) To verify the app works, run in the test environment: diff --git a/docz/static/electron/ew.png b/docz/static/electron/ew.png new file mode 100644 index 0000000..67c7b3e Binary files /dev/null and b/docz/static/electron/ew.png differ diff --git a/docz/static/nwjs/nww.png b/docz/static/nwjs/nww.png new file mode 100644 index 0000000..cbb6f6a Binary files /dev/null and b/docz/static/nwjs/nww.png differ