From c4e0b0272cb9bb34ec5b925e429fe627f84ac822 Mon Sep 17 00:00:00 2001 From: RaidMax Date: Wed, 2 Oct 2019 18:58:23 -0500 Subject: [PATCH] update packages --- Application/Application.csproj | 9 ++++++--- Application/BuildScripts/PostPublish.bat | 8 ++++++++ SharedLibraryCore/Services/ClientService.cs | 2 +- SharedLibraryCore/SharedLibraryCore.csproj | 22 ++++++++++----------- 4 files changed, 26 insertions(+), 15 deletions(-) diff --git a/Application/Application.csproj b/Application/Application.csproj index 7d2490c87..9e718b01f 100644 --- a/Application/Application.csproj +++ b/Application/Application.csproj @@ -24,9 +24,12 @@ - - - + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + diff --git a/Application/BuildScripts/PostPublish.bat b/Application/BuildScripts/PostPublish.bat index d2135e732..ccd533d44 100644 --- a/Application/BuildScripts/PostPublish.bat +++ b/Application/BuildScripts/PostPublish.bat @@ -16,6 +16,10 @@ if exist "%SolutionDir%Publish\Windows\ko\" powershell Remove-Item -Force -Recur if exist "%SolutionDir%Publish\Windows\ru\" powershell Remove-Item -Force -Recurse '%SolutionDir%Publish\Windows\ru' if exist "%SolutionDir%Publish\Windows\zh-Hans\" powershell Remove-Item -Force -Recurse '%SolutionDir%Publish\Windows\zh-Hans' if exist "%SolutionDir%Publish\Windows\zh-Hant\" powershell Remove-Item -Force -Recurse '%SolutionDir%Publish\Windows\zh-Hant' +if exist "%SolutionDir%Publish\Windows\cs\" powershell Remove-Item -Force -Recurse '%SolutionDir%Publish\Windows\cs' +if exist "%SolutionDir%Publish\Windows\pl\" powershell Remove-Item -Force -Recurse '%SolutionDir%Publish\Windows\pl' +if exist "%SolutionDir%Publish\Windows\tr\" powershell Remove-Item -Force -Recurse '%SolutionDir%Publish\Windows\tr' +if exist "%SolutionDir%Publish\Windows\pt-BR\" powershell Remove-Item -Force -Recurse '%SolutionDir%Publish\Windows\pt-BR' if exist "%SolutionDir%Publish\WindowsPrerelease\en-US\" powershell Remove-Item -Force -Recurse '%SolutionDir%Publish\WindowsPrerelease\en-US' if exist "%SolutionDir%Publish\WindowsPrerelease\de\" powershell Remove-Item -Force -Recurse '%SolutionDir%Publish\WindowsPrerelease\de' @@ -27,6 +31,10 @@ if exist "%SolutionDir%Publish\WindowsPrerelease\ko\" powershell Remove-Item -Fo if exist "%SolutionDir%Publish\WindowsPrerelease\ru\" powershell Remove-Item -Force -Recurse '%SolutionDir%Publish\WindowsPrerelease\ru' if exist "%SolutionDir%Publish\WindowsPrerelease\zh-Hans\" powershell Remove-Item -Force -Recurse '%SolutionDir%Publish\WindowsPrerelease\zh-Hans' if exist "%SolutionDir%Publish\WindowsPrerelease\zh-Hant\" powershell Remove-Item -Force -Recurse '%SolutionDir%Publish\WindowsPrerelease\zh-Hant' +if exist "%SolutionDir%Publish\WindowsPrerelease\cs\" powershell Remove-Item -Force -Recurse '%SolutionDir%Publish\Windows\cs' +if exist "%SolutionDir%Publish\WindowsPrerelease\pl\" powershell Remove-Item -Force -Recurse '%SolutionDir%Publish\Windows\pl' +if exist "%SolutionDir%Publish\WindowsPrerelease\tr\" powershell Remove-Item -Force -Recurse '%SolutionDir%Publish\Windows\tr' +if exist "%SolutionDir%Publish\WindowsPrerelease\pt-BR\" powershell Remove-Item -Force -Recurse '%SolutionDir%Publish\Windows\pt-BR' echo Deleting extra runtime files if exist "%SolutionDir%Publish\Windows\runtimes\linux-arm" powershell Remove-Item -Force -Recurse '%SolutionDir%Publish\Windows\runtimes\linux-arm' diff --git a/SharedLibraryCore/Services/ClientService.cs b/SharedLibraryCore/Services/ClientService.cs index b383110ad..62e35adcf 100644 --- a/SharedLibraryCore/Services/ClientService.cs +++ b/SharedLibraryCore/Services/ClientService.cs @@ -584,7 +584,7 @@ namespace SharedLibraryCore.Services { var iqClients = context.Clients .Where(_client => _client.CurrentAlias.IPAddress != null) - .Where(_client => _client.LastConnection >= startOfPeriod) + .Where(_client => _client.FirstConnection >= startOfPeriod) .Select(_client => new PlayerInfo() { ClientId = _client.ClientId, diff --git a/SharedLibraryCore/SharedLibraryCore.csproj b/SharedLibraryCore/SharedLibraryCore.csproj index 4d97af716..8a67c822a 100644 --- a/SharedLibraryCore/SharedLibraryCore.csproj +++ b/SharedLibraryCore/SharedLibraryCore.csproj @@ -33,21 +33,21 @@ - - - + + + all runtime; build; native; contentfiles; analyzers - - - - - - + + + + + + - - + +