pull/17/head
MillenniumEarl 2020-10-11 22:45:20 +02:00
parent 8582368caf
commit 8193ddc308
2 changed files with 5 additions and 4 deletions

View File

@ -235,6 +235,7 @@ module.exports.getGameData = async function (name, includeMods) {
let result = [];
for (let info of await Promise.all(promiseList)) {
// Skip mods if not required
if(!info) continue;
if (info.isMod && !includeMods) continue;
else result.push(info);
}

View File

@ -10,17 +10,17 @@ const {
const GameDownload = require("../app/scripts/classes/game-download.js");
debug(true);
//main();
main();
//downloadGameNOPY();
downloadGameMEGA();
//downloadGameMEGA();
async function main() {
let loginResult = await login("MillenniumEarl", "f9vTcRNuvxj4YpK");
if (loginResult.success) {
await loadF95BaseData();
let gameData = await getGameData("kingdom of deception", false);
console.log(gameData.pop());
let gameData = await getGameData("champion", false);
console.log(gameData);
// let userData = await getUserData();
// console.log(userData);