Repository navigation
Add JVM flag and environment variable for bypassing region check - #7021
teddyxlandlee wants to merge 3 commits into
Conversation
|
The decision to close this PR is understandable. Given the project’s current policy on the network region check and the related compliance concerns, it makes sense that a built-in bypass option is not something HMCL wants to merge or expose directly. This comment is not a request to reopen the PR or change that decision. As an alternative, a standalone Java agent JAR could be uploaded/published outside the main repository. HMCL could then be launched with the java -javaagent:/path/to/HmclBypassRegionCheck-2.0.1.zip -jar HMCL.jar(or This would allow the project to keep its current policy, while users who explicitly want the workaround could opt in through an external agent. The JAR and usage instructions could be provided separately if such an external alternative is considered acceptable. |
They can be triggered on Launcher startup, either:
-Dhmcl.bypassNetworkRegionCheck=true, orHMCL_BYPASS_NETWORK_REGION_CHECKto non-blank value.