Minor tweaks.

This commit is contained in:
Jared Goodwin 2020-04-27 17:56:45 -07:00
parent bf5d4daac6
commit 7e54780b16
4 changed files with 3 additions and 5 deletions

View File

@ -102,7 +102,6 @@ namespace Remotely.Agent.Installer.Win.Services
GetRegistryBaseKey().DeleteSubKey(@"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Remotely", false);
return true;
}
catch (Exception ex)
{
@ -198,7 +197,7 @@ namespace Remotely.Agent.Installer.Win.Services
remotelyKey.SetValue("Publisher", "Translucency Software");
remotelyKey.SetValue("VersionMajor", version.FileMajorPart.ToString(), RegistryValueKind.DWord);
remotelyKey.SetValue("VersionMinor", version.FileMinorPart.ToString(), RegistryValueKind.DWord);
remotelyKey.SetValue("UninstallString", Path.Combine(InstallPath, "Remotely_Installer.exe -uninstall"));
remotelyKey.SetValue("UninstallString", Path.Combine(InstallPath, "Remotely_Installer.exe -uninstall -quiet"));
remotelyKey.SetValue("QuietUninstallString", Path.Combine(InstallPath, "Remotely_Installer.exe -uninstall -quiet"));
}

View File

@ -1,6 +1,6 @@
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12 -bor [System.Net.SecurityProtocolType]::Tls13
[System.IO.Directory]::CreateDirectory("$env:AppData\Remotely")
Invoke-WebRequest -Uri "https://dot.net/v1/dotnet-install.ps1" -OutFile "$env:AppData\Remotely\dotnet-install.ps1"
Invoke-WebRequest -Uri "https://dot.net/v1/dotnet-install.ps1" -OutFile "$env:AppData\Remotely\dotnet-install.ps1" -UseBasicParsing
&"$env:AppData\Remotely\dotnet-install.ps1" -Runtime dotnet
&"$env:AppData\Remotely\dotnet-install.ps1" -Runtime windowsdesktop
Start-Process -FilePath "dotnet.exe" -ArgumentList "$PSScriptRoot\Remotely_Desktop.dll" -WindowStyle Hidden -Verb RunAs

View File

@ -144,7 +144,6 @@ namespace Remotely.ScreenCast.Core.Communication
}
private void DataChannel_BufferingChanged(ulong previous, ulong current, ulong limit)
{
Logger.Debug($"DataChannel buffering changed. Previous: {previous}. Current: {current}. Limit: {limit}.");
CurrentBuffer = current;
}

View File

@ -180,7 +180,7 @@ namespace Remotely.ScreenCast.Win.Services
var texture2D = directxScreens[SelectedScreen].Texture2D;
// Try to get duplicated frame within given time is ms
var result = duplicatedOutput.TryAcquireNextFrame(20,
var result = duplicatedOutput.TryAcquireNextFrame(100,
out var duplicateFrameInformation,
out var screenResource);