From bdc019a7783d8aa165d856f8d944591601edd671 Mon Sep 17 00:00:00 2001 From: Jared Goodwin Date: Thu, 13 Feb 2020 07:23:59 -0800 Subject: [PATCH] Don't use single file for ScreenCasters, as it takes additional time to extract the files. --- README.md | 2 -- .../Properties/PublishProfiles/linux-x64.pubxml | 2 +- ScreenCast.Win/Properties/PublishProfiles/win-x64.pubxml | 2 +- ScreenCast.Win/Properties/PublishProfiles/win-x86.pubxml | 2 +- ScreenCast.Win/Services/WinInput.cs | 6 ++---- 5 files changed, 5 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index c0a7729c..5979c0a1 100644 --- a/README.md +++ b/README.md @@ -2,9 +2,7 @@ A remote control and remote scripting solution, built with .NET Core, SignalR Core, and WebRTC. [![Build Status](https://dev.azure.com/translucency/Remotely/_apis/build/status/Remotely-ReleaseBuild?branchName=master)](https://dev.azure.com/translucency/Remotely/_build/latest?definitionId=17&branchName=master) - [![Donate](https://www.paypalobjects.com/webstatic/en_US/i/buttons/pp-acceptance-small.png)](https://paypal.me/translucency) -(Last 30 Days: $0 | Last Year: $400) Website: https://remotely.lucency.co diff --git a/ScreenCast.Linux/Properties/PublishProfiles/linux-x64.pubxml b/ScreenCast.Linux/Properties/PublishProfiles/linux-x64.pubxml index c0d31222..17d8b706 100644 --- a/ScreenCast.Linux/Properties/PublishProfiles/linux-x64.pubxml +++ b/ScreenCast.Linux/Properties/PublishProfiles/linux-x64.pubxml @@ -11,7 +11,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121. ..\Agent\bin\Release\netcoreapp3.1\linux-x64\publish\ScreenCast linux-x64 false - True + False False \ No newline at end of file diff --git a/ScreenCast.Win/Properties/PublishProfiles/win-x64.pubxml b/ScreenCast.Win/Properties/PublishProfiles/win-x64.pubxml index d27ca9db..6134c414 100644 --- a/ScreenCast.Win/Properties/PublishProfiles/win-x64.pubxml +++ b/ScreenCast.Win/Properties/PublishProfiles/win-x64.pubxml @@ -11,7 +11,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121. ..\Agent\bin\Release\netcoreapp3.1\win10-x64\publish\ScreenCast false win10-x64 - True + False False \ No newline at end of file diff --git a/ScreenCast.Win/Properties/PublishProfiles/win-x86.pubxml b/ScreenCast.Win/Properties/PublishProfiles/win-x86.pubxml index aa69746c..f408786c 100644 --- a/ScreenCast.Win/Properties/PublishProfiles/win-x86.pubxml +++ b/ScreenCast.Win/Properties/PublishProfiles/win-x86.pubxml @@ -11,7 +11,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121. ..\Agent\bin\Release\netcoreapp3.1\win10-x86\publish\ScreenCast win10-x86 false - True + False False \ No newline at end of file diff --git a/ScreenCast.Win/Services/WinInput.cs b/ScreenCast.Win/Services/WinInput.cs index 17c02809..00c5a363 100644 --- a/ScreenCast.Win/Services/WinInput.cs +++ b/ScreenCast.Win/Services/WinInput.cs @@ -30,11 +30,9 @@ namespace Remotely.ScreenCast.Win.Services InputActionsThread.Start(); } - private bool IsInputBlocked { get; set; } - private Thread InputActionsThread { get; } - private ConcurrentQueue InputActions { get; } = new ConcurrentQueue(); - + private Thread InputActionsThread { get; } + private bool IsInputBlocked { get; set; } public Tuple GetAbsolutePercentFromRelativePercent(double percentX, double percentY, ICapturer capturer) { var absoluteX = (capturer.CurrentScreenBounds.Width * percentX) + capturer.CurrentScreenBounds.Left - capturer.GetVirtualScreenBounds().Left;