use windows api instead of netsh command to manage game's network access
This commit is contained in:
@@ -25,6 +25,7 @@ windows = { version = "0.61.1", features = [
|
||||
"Win32_UI_Shell",
|
||||
"Win32_UI_WindowsAndMessaging",
|
||||
"Win32_Security",
|
||||
"Win32_NetworkManagement_WindowsFirewall",
|
||||
] }
|
||||
winreg = "0.55.0"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user