observer added, database added to improve fault tolerance, config fixed, ping added, port allocation improved, session observer added, multiple checks added, run process improved, process running check added, fault tolerance improved

This commit is contained in:
C
2023-01-25 17:57:39 +05:00
parent c2bf9dce67
commit e3e2cc97aa
19 changed files with 2475 additions and 1 deletions
+20
View File
@@ -0,0 +1,20 @@
const titles = require('../../titles.json')
const fs = require('fs')
const get_app_path = (title) => {
var path
titles.forEach((current_title) => {
if (current_title.title == title) {
if (fs.existsSync(current_title.path)) {
path = current_title.path
} else {
console.log(`file not exists ${current_title.path}`)
}
}
})
return (path) ? path : null
}
module.exports = {
get_app_path
}