mirror of
https://github.com/mRemoteNG/mRemoteNG.git
synced 2026-02-17 22:11:48 +08:00
feature/alternate_shell - StartProgram marked as AttributeUsedInProtocol(ProtocolType.RDP)
This commit is contained in:
@@ -733,7 +733,8 @@ namespace mRemoteNG.Connection
|
||||
|
||||
[LocalizedAttributes.LocalizedCategory(nameof(Language.Miscellaneous), 7),
|
||||
LocalizedAttributes.LocalizedDisplayName(nameof(Language.StartProgram)),
|
||||
LocalizedAttributes.LocalizedDescription(nameof(Language.PropertyDescriptionStartProgram))]
|
||||
LocalizedAttributes.LocalizedDescription(nameof(Language.PropertyDescriptionStartProgram)),
|
||||
AttributeUsedInProtocol(ProtocolType.RDP)]
|
||||
public virtual string StartProgram
|
||||
{
|
||||
get => GetPropertyValue("StartProgram", _startProgram);
|
||||
|
||||
@@ -294,7 +294,8 @@ namespace mRemoteNGTests.UI.Window.ConfigWindowTests
|
||||
nameof(ConnectionInfo.RedirectSmartCards),
|
||||
nameof(ConnectionInfo.RedirectSound),
|
||||
nameof(ConnectionInfo.RedirectAudioCapture),
|
||||
nameof(ConnectionInfo.RdpVersion)
|
||||
nameof(ConnectionInfo.RdpVersion),
|
||||
nameof(ConnectionInfo.StartProgram)
|
||||
});
|
||||
break;
|
||||
case ProtocolType.VNC:
|
||||
|
||||
Reference in New Issue
Block a user