在python里面pyinstaller打包可以轻松设置icon,但是到了node.js里面试用pkg就没有相关设置了。设置方法如下: const ResEdit = require('resedit'); const PELibrary = require('pe-library'); const fs = require('fs'); let data = fs.readFileSync('m...
在python里面pyinstaller打包可以轻松设置icon,但是到了node.js里面试用pkg就没有相关设置了。设置方法如下: const ResEdit = require('resedit'); const PELibrary = require('pe-library'); const fs = require('fs'); let data = fs.readFileSync('m...