mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 17:56:25 +00:00
fix updater bug
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
import React, { PropTypes} from 'react'
|
import React, { PropTypes } from 'react'
|
||||||
import md5 from 'md5'
|
import md5 from 'md5'
|
||||||
|
|
||||||
export default class ProfileImage extends React.Component {
|
export default class ProfileImage extends React.Component {
|
||||||
|
|||||||
3
main.js
3
main.js
@@ -45,13 +45,14 @@ app.on('ready', function () {
|
|||||||
appQuit = true
|
appQuit = true
|
||||||
})
|
})
|
||||||
console.log('Version ' + version)
|
console.log('Version ' + version)
|
||||||
updater.setFeedUrl('http://orbital.b00st.io/rokt33r/boost/latest?version=' + version)
|
updater.setFeedUrl('http://orbital.b00st.io/rokt33r/boost-dev/latest?version=' + version)
|
||||||
updater.checkForUpdates()
|
updater.checkForUpdates()
|
||||||
// menu start
|
// menu start
|
||||||
var template = require('./atom-lib/menu-template')
|
var template = require('./atom-lib/menu-template')
|
||||||
|
|
||||||
ipc.on('update-app', function (event, msg) {
|
ipc.on('update-app', function (event, msg) {
|
||||||
if (update != null) {
|
if (update != null) {
|
||||||
|
appQuit = true
|
||||||
update()
|
update()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "electron ./main.js",
|
"start": "electron ./main.js",
|
||||||
"webpack": "webpack-dev-server --inline --config webpack.config.js",
|
"webpack": "webpack-dev-server --inline --config webpack.config.js",
|
||||||
"compile": "NODE_ENV=production webpack --config webpack.config.production.js -p",
|
"compile": "NODE_ENV=production webpack --config webpack.config.production.js",
|
||||||
"build": "electron-packager ./ Boost $npm_package_config_platform $npm_package_config_version $npm_package_config_ignore --overwrite",
|
"build": "electron-packager ./ Boost $npm_package_config_platform $npm_package_config_version $npm_package_config_ignore --overwrite",
|
||||||
"codesign": "codesign --verbose --deep --force --sign \"MAISIN solutions Inc.\" Boost-darwin-x64/Boost.app"
|
"codesign": "codesign --verbose --deep --force --sign \"MAISIN solutions Inc.\" Boost-darwin-x64/Boost.app"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -43,12 +43,12 @@ module.exports = {
|
|||||||
'md5',
|
'md5',
|
||||||
'superagent',
|
'superagent',
|
||||||
'superagent-promise',
|
'superagent-promise',
|
||||||
'react',
|
// 'react',
|
||||||
'redux',
|
// 'redux',
|
||||||
'react-redux',
|
// 'react-redux',
|
||||||
'react-router',
|
// 'react-router',
|
||||||
|
// 'react-select',
|
||||||
'lodash',
|
'lodash',
|
||||||
'react-select',
|
|
||||||
'markdown-it',
|
'markdown-it',
|
||||||
'moment',
|
'moment',
|
||||||
'fs',
|
'fs',
|
||||||
|
|||||||
Reference in New Issue
Block a user