增加查看 devdocs 文档的功能

This commit is contained in:
fofolee
2019-05-05 03:00:04 +08:00
parent f36db8ae16
commit b555f14c5c
6 changed files with 3470 additions and 198 deletions

View File

@@ -3,7 +3,7 @@ const { shell } = require('electron');
const { dialog, BrowserWindow, nativeImage } = require('electron').remote
const path = require("path")
getDirname = () => __dirname;
dirname = __dirname;
open = url => {
shell.openExternal(url);