online-judge-tools / oj

Tools for various online judges. Downloading sample cases, generating additional test cases, testing your code, and submitting it.
MIT License
1.02k stars 88 forks source link

check REMOTE_CONTAINER environment value when register webbrowser in wsl #933

Open takotaketako opened 1 month ago

takotaketako commented 1 month ago

Fixes https://github.com/online-judge-tools/oj/issues/932

whether the environment is a container can be determined by checking the REMOTE_CONTAINERS variable as shown below. https://github.com/microsoft/vscode-remote-release/issues/3517