Skip to content
This repository was archived by the owner on Dec 25, 2024. It is now read-only.

Commit e340205

Browse files
committed
Update readme
1 parent 252a371 commit e340205

File tree

1 file changed

+32
-27
lines changed

1 file changed

+32
-27
lines changed

README.md

+32-27
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,37 @@ To enable native capabilities while keeping the size down, DeskGap bundles a [No
66

77
## Supported Platforms
88

9-
- Mac OS X Yosemite (version 10.10) or later
10-
- Windows 10 October 2018 Update (version 1809) or later
11-
- Linux x86_64 with webkit2gtk installed, tested on:
12-
* Ubuntu 18.04.2 with `libwebkit2gtk-4.0-37 2.22.6`
13-
* openSUSE Leap 15.0 with `libwebkit2gtk-4_0-37 2.20.2`
14-
9+
<table>
10+
<thead>
11+
<tr>
12+
<th></th>
13+
<th>macOS</th>
14+
<th colspan="2">Windows</th>
15+
<th>Linux</th>
16+
</tr>
17+
</thead>
18+
<tbody>
19+
<tr>
20+
<td>Version</td>
21+
<td>10.10+</td>
22+
<td>7 SP1<sup>1</sup> - 10 version 1803</td>
23+
<td>10 version 1809+</td>
24+
<td>Tested on Ubuntu 16.04 LTS</td>
25+
</tr>
26+
<tr>
27+
<td>Rendering Engine</td>
28+
<td>WebKit</td>
29+
<td>Trident</td>
30+
<td>EdgeHTML<sup>2</sup></td>
31+
<td>WebKit</td>
32+
</tr>
33+
</tbody>
34+
</table>
35+
36+
1. Internet Explorer 11 is required for Node.js interop to work
37+
2. Trident is also available if specified explicitly.
38+
39+
1540
## Downloads
1641

1742
### Prebuilt Binaries
@@ -102,26 +127,6 @@ DeskGap is at its early stage. __The API is still quite limited__ compared to El
102127

103128
With a Node.js runtime bundled, DeskGap comes with support for npm packages and all the battle-tested __native capabilities__ in Node.js such as [`fs`](https://nodejs.org/api/fs.html), [`net`](https://nodejs.org/api/net.html), [`http`](https://nodejs.org/api/http.html). The price is a __larger executable size__ (about 8 MB zipped and 20 MB unzipped).
104129

105-
### Why is the supported version of Windows so high? Any plan of supporting Windows 7?
106-
107-
Older Windows’ __do not have a modern browser engine__, only the one that powers Internet Explorer. Windows 10 1809 is the first version that provides a modern webview with [enough functionalities](https://docs.microsoft.com/en-us/microsoft-edge/dev-guide#win32-webview-updates) for DeskGap to be possible.
108-
109-
To support Windows 7, app developers would have to face compatibility issues coming from as low as IE 8. I personally don’t have enough motivation and interest to do this, but pull requests are always welcome.
110-
111-
If you want to try DeskGap but dropping Windows 7 support is a no-go for your app, consider packaging the app with Electron for the unsupported platform. The DeskGap API is intentionally designed to be like Electron’s. The following code is a good start:
112-
113-
```js
114-
let appEngine;
115-
try {
116-
appEngine = require('deskgap');
117-
}
118-
catch (e) {
119-
appEngine = require('electron');
120-
}
121-
const { app, BrowserWindow } = appEngine;
122-
```
123-
124-
### So I can port my Electron app to DeskGap?
130+
### Can I port my Electron app to DeskGap without much modification?
125131

126132
Probably no. The DeskGap API is still quite limited. If you start building an app with DeskGap, getting it running on Electron may be easy, but not the other way around.
127-

0 commit comments

Comments
 (0)