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

fix updater bug

This commit is contained in:
Rokt33r
2015-10-20 01:51:51 +09:00
parent 58381b8062
commit 326c7a93fb
5 changed files with 12 additions and 8 deletions

View File

@@ -15,6 +15,9 @@
}]
}
}
},
"production": {
}
}
}

View File

@@ -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 {

View File

@@ -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()
}
})

View File

@@ -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"
},

View File

@@ -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',