Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support global disablement of partial compilers #530

Open
Philogag opened this issue Sep 17, 2019 · 3 comments
Open

Support global disablement of partial compilers #530

Philogag opened this issue Sep 17, 2019 · 3 comments

Comments

@Philogag
Copy link

I only need c/c++ and java, and I want disable the others so that no one can use them

@Philogag
Copy link
Author

Why I just remove some items in

is unuseable

@undefined-moe
Copy link
Member

undefined-moe commented Dec 2, 2019

If you are using jd4 to judge, you can edit ~/.config/jd4/langs.yaml to remove some languages.
If you are using jd5, you can edit ~/.config/jd5/langs.yaml.

In this case, other languages will be displayed but cannot be judged successfully (an UnsupportedLanguageError will be thrown)

@twd2
Copy link
Member

twd2 commented Dec 3, 2019

You may need to run npm run build after edit that js file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants