0.0.3 • Published 6 years ago

kz-printer-helper v0.0.3

Weekly downloads
1
License
MIT
Repository
-
Last release
6 years ago

electron

依赖 iconv-lite printer 没有写在dependencies中 在项目中自己安装

使用双结构时 printer 找不到路径 在主线程添加

const path = require('path');
const p = path.join(__dirname, '..', 'app', 'node_modules'); // 这个路径是printer 模块安装的位置 根据需要变化
const modulepath = require('module').globalPaths;
modulepath.push(p);

node

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago