changed working directory
This commit is contained in:
@ -6,7 +6,7 @@
|
|||||||
"author": "MrGeorgen",
|
"author": "MrGeorgen",
|
||||||
"repository": "git://git.redstoneunion.de/MrGeorgen/2smart2wait.git",
|
"repository": "git://git.redstoneunion.de/MrGeorgen/2smart2wait.git",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "(cd src && node main.js && cd -)"
|
"start": "node src/main.js"
|
||||||
},
|
},
|
||||||
"license": "GPL-3.0-only",
|
"license": "GPL-3.0-only",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
@ -5,14 +5,14 @@ const mc = require('minecraft-protocol'); // to handle minecraft login session
|
|||||||
const webserver = require('./webserver.js'); // to serve the webserver
|
const webserver = require('./webserver.js'); // to serve the webserver
|
||||||
const opn = require('opn'); //to open a browser window
|
const opn = require('opn'); //to open a browser window
|
||||||
const secrets = require('../secrets.json'); // read the creds
|
const secrets = require('../secrets.json'); // read the creds
|
||||||
const config = JSON.parse(jsonminify(fs.readFileSync("../config.json", "utf8"))); // read the config
|
const config = JSON.parse(jsonminify(fs.readFileSync("./config.json", "utf8"))); // read the config
|
||||||
const discord = require('discord.js');
|
const discord = require('discord.js');
|
||||||
const {DateTime} = require("luxon");
|
const {DateTime} = require("luxon");
|
||||||
const https = require("https");
|
const https = require("https");
|
||||||
const prompt = require("prompt");
|
const prompt = require("prompt");
|
||||||
const ping = require('minecraft-server-util');
|
const ping = require('minecraft-server-util');
|
||||||
const tokens = require('prismarine-tokens');
|
const tokens = require('prismarine-tokens');
|
||||||
const save = "../saveid"
|
const save = "./saveid"
|
||||||
var auth;
|
var auth;
|
||||||
var stoppedByPlayer = false;
|
var stoppedByPlayer = false;
|
||||||
var timedStart;
|
var timedStart;
|
||||||
|
|||||||
Reference in New Issue
Block a user