nwjs-win10
This commit is contained in:
parent
93e7abd146
commit
cfc3344744
@ -16,10 +16,15 @@ from the main or the renderer thread.
|
||||
The "Complete Example" creates an app that looks like the screenshots below:
|
||||
|
||||
<table><thead><tr>
|
||||
<th><a href="#complete-example">Win10</a></th>
|
||||
<th><a href="#complete-example">macOS</a></th>
|
||||
<th><a href="#complete-example">Linux</a></th>
|
||||
</tr></thead><tbody><tr><td>
|
||||
|
||||
![Win10 screenshot](pathname:///electron/ew.png)
|
||||
|
||||
</td><td>
|
||||
|
||||
![macOS screenshot](pathname:///electron/em.png)
|
||||
|
||||
</td><td>
|
||||
@ -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.
|
||||
|
||||
:::
|
||||
|
||||
|
@ -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:
|
||||
|
||||
<table><thead><tr>
|
||||
<th><a href="#complete-example">Win10</a></th>
|
||||
<th><a href="#complete-example">macOS</a></th>
|
||||
<th><a href="#complete-example">Linux</a></th>
|
||||
</tr></thead><tbody><tr><td>
|
||||
|
||||
![Win10 screenshot](pathname:///nwjs/nww.png)
|
||||
|
||||
</td><td>
|
||||
|
||||
![macOS screenshot](pathname:///nwjs/nwm.png)
|
||||
|
||||
</td><td>
|
||||
@ -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:
|
||||
|
BIN
docz/static/electron/ew.png
Normal file
BIN
docz/static/electron/ew.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 73 KiB |
BIN
docz/static/nwjs/nww.png
Normal file
BIN
docz/static/nwjs/nww.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 67 KiB |
Loading…
Reference in New Issue
Block a user