diff --git a/.babelrc b/.babelrc index a3a2c1d4..b8b4c39c 100644 --- a/.babelrc +++ b/.babelrc @@ -15,6 +15,9 @@ }] } } + }, + "production": { + } } } diff --git a/lib/components/ProfileImage.js b/lib/components/ProfileImage.js index f99b64b5..005863bc 100644 --- a/lib/components/ProfileImage.js +++ b/lib/components/ProfileImage.js @@ -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 { diff --git a/main.js b/main.js index 87b982ed..4c214b6e 100644 --- a/main.js +++ b/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() } }) diff --git a/package.json b/package.json index 93cb14b0..f42f8441 100644 --- a/package.json +++ b/package.json @@ -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" }, diff --git a/webpack.config.production.js b/webpack.config.production.js index 67c6a8fc..1ee6a4ba 100644 --- a/webpack.config.production.js +++ b/webpack.config.production.js @@ -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',