mirror of
https://github.com/immense/Remotely.git
synced 2025-10-26 11:27:15 +00:00
Minor tweaks.
This commit is contained in:
parent
bf5d4daac6
commit
7e54780b16
@ -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"));
|
||||
}
|
||||
|
||||
|
||||
@ -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
|
||||
@ -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;
|
||||
}
|
||||
|
||||
|
||||
@ -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);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user