diff --git a/electron.js b/electron.js index 9ca1129..6cb8bd9 100644 --- a/electron.js +++ b/electron.js @@ -78,15 +78,15 @@ function createWindow() { webPreferences: { preload: path.join(__dirname, 'preload.js') } }) mainWindow.removeMenu() // only work for linux and windows - if (isDev) { - mainWindow - .loadURL('http://localhost:3002') - .then(() => console.log('url loaded')) - } else { - mainWindow - .loadFile(path.join(__dirname, './build/index.html')) - .then(() => console.log('index.html loaded')) - } + // if (isDev) { + // mainWindow + // .loadURL('http://localhost:3002') + // .then(() => console.log('url loaded')) + // } else { + mainWindow + .loadFile(path.join(__dirname, './build/index.html')) + .then(() => console.log('index.html loaded')) + // } if (isDev) { // Open the DevTools. diff --git a/package.json b/package.json index e9ec706..0dc8c0a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "chainx-signer", - "version": "2.0.1", + "version": "2.0.2", "private": true, "main": "electron.js", "dependencies": {