修改package中scripts
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user