Don't use single file for ScreenCasters, as it takes additional time to extract the files.

This commit is contained in:
Jared Goodwin 2020-02-13 07:23:59 -08:00
parent 217a3734a1
commit bdc019a778
5 changed files with 5 additions and 9 deletions

View File

@ -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

View File

@ -11,7 +11,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
<PublishDir>..\Agent\bin\Release\netcoreapp3.1\linux-x64\publish\ScreenCast</PublishDir>
<RuntimeIdentifier>linux-x64</RuntimeIdentifier>
<SelfContained>false</SelfContained>
<PublishSingleFile>True</PublishSingleFile>
<PublishSingleFile>False</PublishSingleFile>
<PublishReadyToRun>False</PublishReadyToRun>
</PropertyGroup>
</Project>

View File

@ -11,7 +11,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
<PublishDir>..\Agent\bin\Release\netcoreapp3.1\win10-x64\publish\ScreenCast</PublishDir>
<SelfContained>false</SelfContained>
<RuntimeIdentifier>win10-x64</RuntimeIdentifier>
<PublishSingleFile>True</PublishSingleFile>
<PublishSingleFile>False</PublishSingleFile>
<PublishReadyToRun>False</PublishReadyToRun>
</PropertyGroup>
</Project>

View File

@ -11,7 +11,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
<PublishDir>..\Agent\bin\Release\netcoreapp3.1\win10-x86\publish\ScreenCast</PublishDir>
<RuntimeIdentifier>win10-x86</RuntimeIdentifier>
<SelfContained>false</SelfContained>
<PublishSingleFile>True</PublishSingleFile>
<PublishSingleFile>False</PublishSingleFile>
<PublishReadyToRun>False</PublishReadyToRun>
</PropertyGroup>
</Project>

View File

@ -30,11 +30,9 @@ namespace Remotely.ScreenCast.Win.Services
InputActionsThread.Start();
}
private bool IsInputBlocked { get; set; }
private Thread InputActionsThread { get; }
private ConcurrentQueue<Action> InputActions { get; } = new ConcurrentQueue<Action>();
private Thread InputActionsThread { get; }
private bool IsInputBlocked { get; set; }
public Tuple<double, double> GetAbsolutePercentFromRelativePercent(double percentX, double percentY, ICapturer capturer)
{
var absoluteX = (capturer.CurrentScreenBounds.Width * percentX) + capturer.CurrentScreenBounds.Left - capturer.GetVirtualScreenBounds().Left;