 electron中文教程
createWindow(); 49. } 50. }); 51. 52. // 在这文件,你可以续写应用剩下主进程代码。 53. // 也可以拆分成几个文件,然后用 require 导入。 最后,你想展示的 index.html : 1. 2. 3. 4. desktop 当前用户的桌面文件夹 documents 用户文档目录的路径 downloads 用户下载目录的路径. music 用户音乐目录的路径. pictures 用户图片目录的路径. videos 用户视频目录的路径. name String path String 重写某个 name 的路径为 path , path 可以是一个文件夹或者一个文件,这个和 Boolean -允许一个使用 https的界面来渲染由 http URLs 提 交的html,css,javascript. 默认为 false . images Boolean - 开启图片使用支持. 默认 true . textAreasAreResizable Boolean - textArea 可以编辑. 默认为 true . webgl Boolean - 开启0 码力 | 203 页 | 2.72 MB | 1 年前3 electron中文教程
createWindow(); 49. } 50. }); 51. 52. // 在这文件,你可以续写应用剩下主进程代码。 53. // 也可以拆分成几个文件,然后用 require 导入。 最后,你想展示的 index.html : 1. 2. 3. 4. desktop 当前用户的桌面文件夹 documents 用户文档目录的路径 downloads 用户下载目录的路径. music 用户音乐目录的路径. pictures 用户图片目录的路径. videos 用户视频目录的路径. name String path String 重写某个 name 的路径为 path , path 可以是一个文件夹或者一个文件,这个和 Boolean -允许一个使用 https的界面来渲染由 http URLs 提 交的html,css,javascript. 默认为 false . images Boolean - 开启图片使用支持. 默认 true . textAreasAreResizable Boolean - textArea 可以编辑. 默认为 true . webgl Boolean - 开启0 码力 | 203 页 | 2.72 MB | 1 年前3
共 1 条
- 1













