diff --git a/Backend/Global/Variables.cs b/Backend/Global/Variables.cs index 611346b..2d37235 100644 --- a/Backend/Global/Variables.cs +++ b/Backend/Global/Variables.cs @@ -12,7 +12,7 @@ namespace Backend.Global { public class Variables { - public static int NumericVersion = 5; + public static int NumericVersion = 6; public static bool ReplayMode = true; public static bool LobbySession = false; public static string NethookDumpDir { get; set; } diff --git a/Backend/Startup.cs b/Backend/Startup.cs index 97b2890..309b648 100644 --- a/Backend/Startup.cs +++ b/Backend/Startup.cs @@ -50,7 +50,7 @@ public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerF app.UseMvc(); if (Variables.ReplayMode) { - Variables.NethookDumpDir = @"C:\Steam\nethook\_Aoe2HostLobby"; + Variables.NethookDumpDir = @"C:\Steam\nethook\_Aoe2HostLobby3"; } else { _netHookDumpReaderJob = new NetHookDumpReaderJob(); } diff --git a/Client/Client/package.json b/Client/Client/package.json index 770640b..ed26c80 100644 --- a/Client/Client/package.json +++ b/Client/Client/package.json @@ -1,7 +1,7 @@ { "name": "AoE2HDLobbyCompanion", - "version": "1.3.0", - "description": "Age of Empires 2 Lobby Companion Client", + "version": "1.4.0", + "description": "Age of Empires 2 HD Lobby Companion Client", "homepage": "http://aoe2lc.net", "author": { "name": "Thor Conzales", diff --git a/Client/Client/src/app/history/history-page/history-page.component.ts b/Client/Client/src/app/history/history-page/history-page.component.ts index ae29bb9..0713b9f 100644 --- a/Client/Client/src/app/history/history-page/history-page.component.ts +++ b/Client/Client/src/app/history/history-page/history-page.component.ts @@ -42,6 +42,10 @@ export class HistoryPageComponent implements OnInit { this.trackingService.sendEvent("HistoryPage", "OpenMatchDetails"); } + public showOnlyStartedLobbiesChanged() { + this.matchHistoryDataSource = new MatchHistoryDataSource(this.matches, this.paginator, this.showOnlyStartedLobbies) + } + private getMatches() { this.loading = true; this.httpService.get("/api/matchHistory").subscribe(matches => { @@ -53,10 +57,6 @@ export class HistoryPageComponent implements OnInit { this.appService.toastError("Failed to retrieve history."); }); } - - private showOnlyStartedLobbiesChanged() { - this.matchHistoryDataSource = new MatchHistoryDataSource(this.matches, this.paginator, this.showOnlyStartedLobbies) - } } export class MatchHistoryDataSource extends DataSource { diff --git a/Client/Client/src/app/shared/app.service.ts b/Client/Client/src/app/shared/app.service.ts index 027a0b2..17d2c8e 100644 --- a/Client/Client/src/app/shared/app.service.ts +++ b/Client/Client/src/app/shared/app.service.ts @@ -1,4 +1,4 @@ -import { Injectable, Inject, forwardRef } from '@angular/core'; +import { Injectable, Inject, forwardRef } from '@angular/core'; import { remote } from 'electron'; import { spawn, spawnSync, ChildProcess } from 'child_process'; import { MdDialog } from '@angular/material'; @@ -11,7 +11,7 @@ import { Reputation } from '../app.models'; @Injectable() export class AppService { - public stringVersion = "1.3.0"; + public stringVersion = "1.4.0"; public lobbiesPageOpened = false; public sessionRunning = false; private nethookActive = false; diff --git a/Client/Client/src/app/shared/tracking.service.ts b/Client/Client/src/app/shared/tracking.service.ts index 8ae6e2f..4498850 100644 --- a/Client/Client/src/app/shared/tracking.service.ts +++ b/Client/Client/src/app/shared/tracking.service.ts @@ -5,7 +5,7 @@ import { ConfigurationService } from './'; @Injectable() export class TrackingService { private analytics; - private version: "1.3.0"; + private version: "1.4.0"; constructor(private configurationService: ConfigurationService) { try {