diff --git a/src/main.coffee b/src/main.coffee index bc952fdcc..ca4592cea 100644 --- a/src/main.coffee +++ b/src/main.coffee @@ -46,8 +46,7 @@ setupAutoUpdater = -> autoUpdater.setAutomaticallyDownloadsUpdates true parseCommandLine = -> - version = fs.readFileSync(path.join(__dirname, '..', '..', 'version'), 'utf8') - + version = app.getVersion() options = optimist(process.argv[1..]) options.usage """ Atom #{version}