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:
@@ -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'
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user