mirror of
				https://github.com/Ylianst/MeshCentral.git
				synced 2025-03-09 15:40:18 +00:00 
			
		
		
		
	Fixed MeshCMD scripting bug.
This commit is contained in:
		
							parent
							
								
									dc90843e5b
								
							
						
					
					
						commit
						99eda04a22
					
				
					 7 changed files with 5 additions and 5 deletions
				
			
		
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							| 
						 | 
				
			
			@ -177,7 +177,7 @@ function WsmanStackCreateService(/*CreateWsmanComm, host, port, user, pass, tls,
 | 
			
		|||
	}
 | 
			
		||||
 | 
			
		||||
    function _PutObjToSelectorsXml(selectorSet) {
 | 
			
		||||
        if (!selectorSet) return '';
 | 
			
		||||
        if ((selectorSet == null) || (selectorSet == 'null')) return '';
 | 
			
		||||
        if (typeof selectorSet == 'string') return selectorSet;
 | 
			
		||||
        if (selectorSet['InstanceID']) return "<w:SelectorSet><w:Selector Name=\"InstanceID\">" + selectorSet['InstanceID'] + "</w:Selector></w:SelectorSet>";
 | 
			
		||||
		var result = '<w:SelectorSet>';
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										2
									
								
								agents/modules_meshcmd_min/amt-wsman.min.js
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								agents/modules_meshcmd_min/amt-wsman.min.js
									
										
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							| 
						 | 
				
			
			@ -177,7 +177,7 @@ function WsmanStackCreateService(/*CreateWsmanComm, host, port, user, pass, tls,
 | 
			
		|||
	}
 | 
			
		||||
 | 
			
		||||
    function _PutObjToSelectorsXml(selectorSet) {
 | 
			
		||||
        if (!selectorSet) return '';
 | 
			
		||||
        if ((selectorSet == null) || (selectorSet == 'null')) return '';
 | 
			
		||||
        if (typeof selectorSet == 'string') return selectorSet;
 | 
			
		||||
        if (selectorSet['InstanceID']) return "<w:SelectorSet><w:Selector Name=\"InstanceID\">" + selectorSet['InstanceID'] + "</w:Selector></w:SelectorSet>";
 | 
			
		||||
		var result = '<w:SelectorSet>';
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										2
									
								
								agents/modules_meshcore_min/amt-wsman.min.js
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								agents/modules_meshcore_min/amt-wsman.min.js
									
										
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							| 
						 | 
				
			
			@ -1,6 +1,6 @@
 | 
			
		|||
{
 | 
			
		||||
  "name": "meshcentral",
 | 
			
		||||
  "version": "0.3.3-f",
 | 
			
		||||
  "version": "0.3.3-g",
 | 
			
		||||
  "keywords": [
 | 
			
		||||
    "Remote Management",
 | 
			
		||||
    "Intel AMT",
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue