mirror of
				https://github.com/2dust/v2rayN.git
				synced 2025-10-27 02:34:41 +00:00 
			
		
		
		
	Fix bug
This commit is contained in:
		
							parent
							
								
									1e9a6cb06b
								
							
						
					
					
						commit
						4f346f73be
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		|  | @ -1084,8 +1084,10 @@ namespace v2rayN | ||||||
|         { |         { | ||||||
|             try |             try | ||||||
|             { |             { | ||||||
|  |                 var sum = MD5.HashData(Encoding.UTF8.GetBytes("wintunsingbox_tun")); | ||||||
|  |                 var guid = new Guid(sum); | ||||||
|                 string pnputilPath = @"C:\Windows\System32\pnputil.exe"; |                 string pnputilPath = @"C:\Windows\System32\pnputil.exe"; | ||||||
|                 string arg = $" /remove-device /deviceid \"wintun\""; |                 string arg = $$""" /remove-device  "SWD\Wintun\{{{guid}}}" """; | ||||||
| 
 | 
 | ||||||
|                 // Try to remove the device |                 // Try to remove the device | ||||||
|                 Process proc = new() |                 Process proc = new() | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue
	
	 lsyx
						lsyx