move config.startTime to app.startTime

This also captures the true start time since it runs before any
require() calls, so the time to require() will be taken into account.
This commit is contained in:
Feross Aboukhadijeh
2016-03-04 16:10:14 -08:00
parent 5f02b73616
commit 82fc6cabe8
4 changed files with 16 additions and 9 deletions

View File

@@ -2,6 +2,5 @@ var path = require('path')
module.exports = {
APP_NAME: 'WebTorrent',
INDEX: 'file://' + path.resolve(__dirname, '..', 'renderer', 'index.html'),
startTime: Date.now()
INDEX: 'file://' + path.resolve(__dirname, '..', 'renderer', 'index.html')
}