You can configure the Wifi connection on desktop computer using this tool.
Basically, only the ssid, bssid and password are needed.
git clone https://github.com/openflint/wifi-settings-pyadb.git
cd wifi-settings-pyadb/
python settings-app.py
git clone https://github.com/openflint/wifi-settings-pyadb.git
Then double click the settings-app.py (need install python first). A standalone executable will be added later.