摘要:
1、electron与nodejs安装的版本必须对应,对应表:https://www.yuque.com/u34495/mivcfg/lb1lwt68fhg2qgw7 我装的node版本是:v16.14.2,elcctron版本是:19.1.3 2、安装 ffi-napi npm install f 阅读全文
posted @ 2023-01-13 15:08
ziff123
阅读(568)
评论(1)
推荐(0)
摘要:
electron 发送http请求,参考官网api: https://www.electronjs.org/zh/docs/latest/api/net#netrequestoptions https://www.electronjs.org/zh/docs/latest/api/client-re 阅读全文
posted @ 2023-01-13 11:09
ziff123
阅读(888)
评论(0)
推荐(0)
摘要:
electron 开启本地http服务,让第三方可以直接通过webapi的方式访问 1、新建server.js 1 const os = require('os'); 2 const http = require('http'); 3 4 5 let server; 6 7 function ope 阅读全文
posted @ 2023-01-13 10:31
ziff123
阅读(3238)
评论(0)
推荐(0)

浙公网安备 33010602011771号