mirror of
https://gitlab.com/Shinobi-Systems/ShinobiCE.git
synced 2025-03-09 15:40:15 +00:00
Blue Turtle - Minor Additions and Bug Fixes
This commit is contained in:
parent
c7e70c03e8
commit
bc01b19714
6 changed files with 84 additions and 15 deletions
|
@ -1004,7 +1004,11 @@ module.exports = function(s,config,lang){
|
|||
s.group[e.ke].mon[e.id].fswatch = fs.watch(e.dir, {encoding : 'utf8'}, (event, filename) => {
|
||||
switch(event){
|
||||
case'rename':
|
||||
try{
|
||||
s.group[e.ke].mon[e.id].open = filename.split('.')[0]
|
||||
}catch(err){
|
||||
s.debugLog('Failed to split filename : ',filename)
|
||||
}
|
||||
break;
|
||||
case'change':
|
||||
s.resetRecordingCheck(e)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue