修复不显示文本 和 html 输出的 bug

This commit is contained in:
Seven Yu
2019-12-03 16:53:01 +08:00
parent 6f05af1afd
commit 5126f414bf
2 changed files with 21 additions and 20 deletions

View File

@@ -13,6 +13,8 @@ const { shell } = require('electron');
pluginInfo = JSON.parse(fs.readFileSync(path.join(__dirname, 'plugin.json')));
logo = nativeImage.createFromPath(path.join(__dirname, 'logo.png'));
// fix PATH
process.env.PATH += ':/usr/local/bin:/usr/local/sbin'
messageBox = (options, callback) => {