From b49a3a295ddfb0a477af3bd1f0b604244d4e504a Mon Sep 17 00:00:00 2001 From: robflop Date: Sun, 8 Jul 2018 21:49:03 +0200 Subject: [PATCH] Update deps --- package.json | 4 ++-- src/js/index.js | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 2b3ae5f..f363f2b 100644 --- a/package.json +++ b/package.json @@ -1,12 +1,12 @@ { "name": "ToL-Mod-Utility", - "version": "1.11.1", + "version": "1.11.2", "productName": "ToL-Mod-Utility", "description": "Moderation utility for Throne of Lies player reports.", "main": "./src/client", "dependencies": {}, "devDependencies": { - "electron": "^2.0.3", + "electron": "^2.0.4", "electron-packager": "^12.1.0", "electron-winstaller": "^2.6.4", "eslint": "^5.0.1", diff --git a/src/js/index.js b/src/js/index.js index f91fe00..b439b63 100644 --- a/src/js/index.js +++ b/src/js/index.js @@ -33,6 +33,11 @@ const app = new Vue({ // eslint-disable-line no-undef entireWordsSearchToggle: false, connectionStatuses: ['Connected', 'Left Alive', 'Left Dead', 'Left Won Early', 'Reconnected'] }, + // mounted() { + // this.chatLogsInput = require('fs').readFileSync(require('path').join(__dirname, '../logs.txt'), 'utf-8'); + // this.matchInfoInput = JSON.stringify(require('../info.json')); + // this.loadMatch(); + // }, methods: { loadMatch() { if (!this.matchInfoInput || !this.chatLogsInput) return;