Created a program to auto connect to the ADB port of Bluestacks using Rust
Run the command to create the exe
cargo build --release
And finally add it to the path
Or to the powershell using this
code $profile
inside the ps1 file, add the following
Set-Alias -Name bluestacks-adb -Value "<path-to-the-rust-project>\target\release\bluestacks-adb.exe"