Merge branch 'master' of github.com:jean-emmanuel/open-stage-control

This commit is contained in:
jean-emmanuel 2018-03-29 22:46:17 +02:00
commit d77c219c52
7 changed files with 27 additions and 14 deletions

View file

@ -59,8 +59,10 @@ module.exports = {
sessionRemoveFromHistory: function(data) {
var sessionlist = settings.read('recentSessions')
sessionlist.splice(data,1)
settings.write('recentSessions',sessionlist)
if (sessionlist.indexOf(data) > -1) {
sessionlist.splice(sessionlist.indexOf(data),1)
settings.write('recentSessions',sessionlist)
}
},
sessionOpen: function(data,clientId) {

View file

@ -136,7 +136,8 @@ var customModule = (function(){
console: console,
sendOsc: sendOsc,
receiveOsc: receiveOsc,
setTimeout: setTimeout,
setTimeout: setTimeout,
setInterval: setInterval,
settings: settings
}
@ -144,6 +145,7 @@ var customModule = (function(){
mod = vm.runInContext(file, vm.createContext(context))
} catch(err) {
console.log(err)
return false
}
return mod

View file

@ -2,7 +2,7 @@
"name": "open-stage-control",
"productName": "Open Stage Control",
"description": "Libre and modular OSC / MIDI controller",
"version": "0.28.0",
"version": "0.28.1",
"author": {
"name": "Jean-Emmanuel Doucet",
"email": "jean-emmanuel@ammd.net"
@ -27,6 +27,7 @@
"express": "4.16.3",
"osc": "2.2.0",
"python-shell": "0.5.0",
"rtsp-ffmpeg": "0.0.12",
"vmodule": "1.0.1",
"ws": "^5.0.0",
"yargs": "11.0.0"