port selection on plugin

This commit is contained in:
Michal Courson
2026-02-28 17:01:59 -05:00
parent ab57d8ef22
commit 7a471041e7
7 changed files with 100 additions and 19 deletions

View File

@ -29,6 +29,7 @@ namespace ClipTrimDotNet
{
GlobalSettings instance = new GlobalSettings();
instance.ProfileName = null;
instance.PortNumber = 5010;
return instance;
}
@ -36,6 +37,9 @@ namespace ClipTrimDotNet
[JsonProperty(PropertyName = "profileName")]
public string? ProfileName { get; set; }
[JsonProperty(PropertyName = "portNumber")]
public int? PortNumber { get; set; }
public void SetCurrentProfile(string profile)
{