Skip to content

Commit

Permalink
electron app fixed
Browse files Browse the repository at this point in the history
electron app fixed
  • Loading branch information
HYUN KYU SEO committed Jun 17, 2019
1 parent b11f06d commit a0137d5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 0 additions & 3 deletions app.js
Expand Up @@ -2,9 +2,6 @@ const url = require('url');
const path = require('path');
const {app, BrowserWindow, Menu} = require('electron');
const contextMenu = require('electron-context-menu');
const buildMagicpadIndex = require('./build_magicpad_index');

buildMagicpadIndex.build();

let mainWindow;
contextMenu({
Expand Down
2 changes: 2 additions & 0 deletions build_index.js
@@ -0,0 +1,2 @@
const buildMagicpadIndex = require('./build_magicpad_index');
buildMagicpadIndex.build();
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -8,7 +8,7 @@
"electron": "^5.0.2"
},
"scripts": {
"start": "electron .",
"start": "node build_index.js && electron .",
"dist": "build"
},
"keywords": [
Expand Down

0 comments on commit a0137d5

Please sign in to comment.