Skip to content

Commit

Permalink
ver test
Browse files Browse the repository at this point in the history
  • Loading branch information
mediaslav committed Mar 4, 2017
1 parent 6030db7 commit 58fd2bb
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
9 changes: 9 additions & 0 deletions preload.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
console.log('in preload', __dirname)

PreApp = {
log: s => {console.log('PreApp:', s)},
}

window.addEventListener('load', e => {
PreApp.log('in onLoad')
})
4 changes: 3 additions & 1 deletion sync.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ const child_process = require('child_process')
const wardir = path.resolve(__dirname, 'draw.io', 'war')
const appjsonpath = path.resolve(wardir, 'package.json')

let ver = fs.readFileSync(path.resolve(__dirname, 'draw.io', 'VERSION'), 'utf8')
// let ver = fs.readFileSync(path.resolve(__dirname, 'draw.io', 'VERSION'), 'utf8')

let ver = '6.2.5' // just to test autoupdate

let pj = require(appjsonpath)

Expand Down

0 comments on commit 58fd2bb

Please sign in to comment.