Don't save __dirname into path.txt.

Allows install to work even if our directory is moved later.
This commit is contained in:
Yoyo Zhou 2015-12-10 14:43:35 -08:00
parent b152f6d215
commit 999a998469
2 changed files with 5 additions and 5 deletions

View file

@ -1,4 +1,4 @@
var fs = require('fs')
var path = require('path')
module.exports = fs.readFileSync(path.join(__dirname, 'path.txt'), 'utf-8')
module.exports = path.join(__dirname, fs.readFileSync(path.join(__dirname, 'path.txt'), 'utf-8'))