Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/jgraph/drawio-desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Benson <davidjgraph@users.noreply.github.com>2017-05-26 12:08:00 +0300
committerGitHub <noreply@github.com>2017-05-26 12:08:00 +0300
commite19c29edb634530faa290185ee93d4f8b7557a60 (patch)
tree3fcd833d6ab302d43f726e76dcb8aa15d7c3b0ed /sync.js
parentc8222e1aa74ff308b2d3346399d4e1e9804538ff (diff)
Updated path to json
Diffstat (limited to 'sync.js')
-rw-r--r--sync.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/sync.js b/sync.js
index 9a6f849..6a6ac1c 100644
--- a/sync.js
+++ b/sync.js
@@ -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