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'
|
||||
|
||||
export default class ProfileImage extends React.Component {
|
||||
|
||||
3
main.js
3
main.js
@@ -45,13 +45,14 @@ app.on('ready', function () {
|
||||
appQuit = true
|
||||
})
|
||||
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()
|
||||
// menu start
|
||||
var template = require('./atom-lib/menu-template')
|
||||
|
||||
ipc.on('update-app', function (event, msg) {
|
||||
if (update != null) {
|
||||
appQuit = true
|
||||
update()
|
||||
}
|
||||
})
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
"scripts": {
|
||||
"start": "electron ./main.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",
|
||||
"codesign": "codesign --verbose --deep --force --sign \"MAISIN solutions Inc.\" Boost-darwin-x64/Boost.app"
|
||||
},
|
||||
|
||||
@@ -43,12 +43,12 @@ module.exports = {
|
||||
'md5',
|
||||
'superagent',
|
||||
'superagent-promise',
|
||||
'react',
|
||||
'redux',
|
||||
'react-redux',
|
||||
'react-router',
|
||||
// 'react',
|
||||
// 'redux',
|
||||
// 'react-redux',
|
||||
// 'react-router',
|
||||
// 'react-select',
|
||||
'lodash',
|
||||
'react-select',
|
||||
'markdown-it',
|
||||
'moment',
|
||||
'fs',
|
||||
|
||||
Reference in New Issue
Block a user