Skip to content

Commit

Permalink
polaris
Browse files Browse the repository at this point in the history
  • Loading branch information
bkdev98 committed Feb 15, 2021
1 parent b20afc1 commit be2e023
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 1 addition & 4 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,10 @@ function createWindow() {
titleBarStyle: 'hiddenInset',
webPreferences: {
webSecurity: false,
nativeWindowOpen: true,
nodeIntegration: true,
enableRemoteModule: true,
},
});

mainWindow.webContents.openDevTools();
// mainWindow.webContents.openDevTools();

mainWindow.loadURL(LOAD_URL);

Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
"license": "MIT",
"scripts": {
"react-build": "rm -rf polar-web && git clone https://github.com/polar-write/polar-web.git && cd polar-web && yarn && yarn build && cd ..",
"react-build-update": "cd polar-web && git pull && yarn && yarn build && cd ..",
"build": "yarn react-build && yarn dist:mac && yarn dist:win",
"build-update": "yarn react-build-update && yarn dist:mac && yarn dist:win",
"dist:mac": "electron-builder --mac",
"dist:win": "electron-builder --win --x64 --ia32",
"prebuild": "rm -rf ./polar-web/build && rm -rf ./dist",
Expand Down

0 comments on commit be2e023

Please sign in to comment.