diff --git a/Agent.Installer.Win/Services/InstallerService.cs b/Agent.Installer.Win/Services/InstallerService.cs index 6287b5f4..05bda673 100644 --- a/Agent.Installer.Win/Services/InstallerService.cs +++ b/Agent.Installer.Win/Services/InstallerService.cs @@ -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")); } diff --git a/Desktop.Win.Wrapper/Install.ps1 b/Desktop.Win.Wrapper/Install.ps1 index 52cc8659..5acdcae4 100644 --- a/Desktop.Win.Wrapper/Install.ps1 +++ b/Desktop.Win.Wrapper/Install.ps1 @@ -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 \ No newline at end of file diff --git a/ScreenCast.Core/Communication/WebRtcSession.cs b/ScreenCast.Core/Communication/WebRtcSession.cs index 038663bf..67077f05 100644 --- a/ScreenCast.Core/Communication/WebRtcSession.cs +++ b/ScreenCast.Core/Communication/WebRtcSession.cs @@ -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; } diff --git a/ScreenCast.Win/Services/ScreenCapturerWin.cs b/ScreenCast.Win/Services/ScreenCapturerWin.cs index d15b9e04..95457b63 100644 --- a/ScreenCast.Win/Services/ScreenCapturerWin.cs +++ b/ScreenCast.Win/Services/ScreenCapturerWin.cs @@ -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);