launcher: accept json session files and print a deprecation warning in the console (issue #101)

This commit is contained in:
bordun 2017-09-16 14:10:27 +02:00
parent 2a319b85fb
commit a941ac621b
3 changed files with 8 additions and 3 deletions

View file

@ -57,7 +57,7 @@ $(document).ready(()=>{
browse.click(function(e){
e.preventDefault()
dialog.showOpenDialog({filters:[{name:'js',extensions:['js']}]},function(file){
dialog.showOpenDialog({filters:[{name:option.file.name,extensions:option.file.extensions}]},function(file){
input.val(file).change()
})
})