Skip to content

Conversation

loucass003
Copy link
Member

@loucass003 loucass003 commented May 6, 2025

@github-actions github-actions bot added Area: Application Protocol Related to communication with apps like the GUI, overlay, games Area: GUI Related to the GUI Area: Translation Improvements or additions to translations Area: Server Related to the server labels May 6, 2025
val command = "powershell.exe -Command \"(Get-NetConnectionProfile).NetworkCategory\""

// Use ProcessBuilder with the full command passed through the shell
val processBuilder = ProcessBuilder("cmd.exe", "/c", command)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't call cmd, call powershell directly :3

@Eirenliel Eirenliel merged commit f9d619f into main May 12, 2025
13 checks passed
@Eirenliel Eirenliel deleted the llelievr/status-wifi-public branch May 12, 2025 19:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Application Protocol Related to communication with apps like the GUI, overlay, games Area: GUI Related to the GUI Area: Server Related to the server Area: Translation Improvements or additions to translations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants