diff options
author | David Benson <davidjgraph@users.noreply.github.com> | 2017-05-26 12:08:00 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-26 12:08:00 +0300 |
commit | e19c29edb634530faa290185ee93d4f8b7557a60 (patch) | |
tree | 3fcd833d6ab302d43f726e76dcb8aa15d7c3b0ed /sync.js | |
parent | c8222e1aa74ff308b2d3346399d4e1e9804538ff (diff) |
Updated path to json
Diffstat (limited to 'sync.js')
-rw-r--r-- | sync.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3,7 +3,7 @@ const path = require('path') const child_process = require('child_process') const wardir = path.resolve(__dirname, 'draw.io', 'war') -const appjsonpath = path.resolve(wardir, 'package.json') +const appjsonpath = path.resolve(__dirname, 'draw.io', 'etc', 'electron', 'package.json') let ver = fs.readFileSync(path.resolve(__dirname, 'draw.io', 'VERSION'), 'utf8') // let ver = '6.4.0' // just to test autoupdate |