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

auto update確認

This commit is contained in:
Rokt33r
2015-11-15 03:52:34 +09:00
parent 46c6555f94
commit da9d7a4336
3 changed files with 27 additions and 10 deletions

View File

@@ -11,8 +11,12 @@ require('../styles/main/index.styl')
import { openModal } from 'boost/modal'
import Tutorial from 'boost/components/modal/Tutorial'
import activityRecord from 'boost/activityRecord'
import ipc from 'ipc'
activityRecord.init()
window.addEventListener('online', function () {
ipc.send('check-update', 'check-update')
})
let routes = (
<Route path='/' component={MainPage}>