修改package中scripts

This commit is contained in:
zilong
2021-10-26 20:06:24 +08:00
parent bb6588ec05
commit e1edf8009e
2 changed files with 3 additions and 3 deletions

View File

@@ -11,7 +11,7 @@ let p = require('path').join(NMApiPath + '/node_modules');
require('module').globalPaths.unshift(p); //加入到module的路径列表
console.log(process.resourcesPath, NMApiPath)
const svc = require(NMApiPath + '/app.js')
if(!isDev)const svc = require(NMApiPath + '/app.js')
function createWindow() {
// Create the browser window.