1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 09:46:22 +00:00

Merge pull request #150 from mikeres0/master

Various updates
This commit is contained in:
Junyoung Choi
2016-10-20 00:53:30 +09:00
committed by GitHub
4 changed files with 10 additions and 4 deletions

View File

@@ -74,7 +74,7 @@ class TopBar extends React.Component {
if (storage == null) throw new Error('No storage to create a note')
let folder = _.find(storage.folders, {key: params.folderKey})
if (folder == null) folder = storage.folders[0]
if (folder == null) throw new Error('No folder to craete a note')
if (folder == null) throw new Error('No folder to create a note')
return {
storage,

View File

@@ -29,6 +29,11 @@ $ npm run hot
```
> Actually the app can be start with `npm start`. However, the app will use the compiled script.
If the app gets stuck on load, you may need to run the following.
```
$ npm run vendor
```
By this, webpack will watch the code changes and apply it automatically.
> ### Notice

View File

@@ -190,6 +190,4 @@ var help = {
module.exports = process.platform === 'darwin'
? [boost, file, edit, view, window, help]
: process.platform === 'win32'
? [boost, file, view, help]
: [file, view, help]
: []

View File

@@ -3,11 +3,14 @@ const app = electron.app
const BrowserWindow = electron.BrowserWindow
const path = require('path')
var showMenu == process.platform == "Win32" ? false : true;
var mainWindow = new BrowserWindow({
width: 1080,
height: 720,
minWidth: 420,
minHeight: 320,
autoHideMenuBar: showMenu,
webPreferences: {
zoomFactor: 1.0,
blinkFeatures: 'OverlayScrollbars'