1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 17:56:25 +00:00

bump up electron version 0.34 -> 0.35.1

This commit is contained in:
Rokt33r
2015-11-23 11:38:35 +09:00
parent 53455496bf
commit de3b76b31d
18 changed files with 57 additions and 60 deletions

View File

@@ -28,7 +28,8 @@
<div id="content"></div>
<script src="../../submodules/ace/src-min/ace.js"></script>
<script>
require('web-frame').setZoomLevelLimits(1, 1)
const electron = require('electron')
electron.webFrame.setZoomLevelLimits(1, 1)
var scriptUrl = process.env.BOOST_ENV === 'development'
? 'http://localhost:8080/assets/finder.js'
: '../../compiled/finder.js'

View File

@@ -10,9 +10,10 @@ import { selectArticle, searchArticle, refreshData } from './actions'
import _ from 'lodash'
import activityRecord from 'boost/activityRecord'
import remote from 'remote'
const electron = require('electron')
const { remote, clipboard } = electron
var hideFinder = remote.getGlobal('hideFinder')
import clipboard from 'clipboard'
function notify (...args) {
return new window.Notification(...args)