File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed
Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -253,6 +253,24 @@ public string getCapabilitiesAsString()
253253 }
254254 return str ;
255255 }
256+ public string getProtocolsAsString ( )
257+ {
258+ string str = "" ;
259+ if ( protocols == null )
260+ {
261+ return "" ;
262+ }
263+
264+ foreach ( var proto in protocols )
265+ {
266+ if ( str != "" )
267+ {
268+ str += ", " ;
269+ }
270+ str += proto . Value . ToString ( ) ;
271+ }
272+ return str ;
273+ }
256274
257275 public void writeAppInfoFile ( string filePath )
258276 {
@@ -270,6 +288,8 @@ public void writeAppInfoFile(string filePath)
270288 sb . AppendLine ( $ "checksum = { checksum } ") ;
271289 var capabilities_str = getCapabilitiesAsString ( ) ;
272290 sb . AppendLine ( $ "capabilities = { capabilities_str } ") ;
291+ var protocols_str = getProtocolsAsString ( ) ;
292+ sb . AppendLine ( $ "protocols = { protocols_str } ") ;
273293 sb . AppendLine ( $ "minUsers = { minUsers } ") ;
274294 sb . AppendLine ( $ "maxUsers = { maxUsers } ") ;
275295
You can’t perform that action at this time.
0 commit comments