Skip to content

Commit

Permalink
More default targets
Browse files Browse the repository at this point in the history
  • Loading branch information
kappa-maintainer committed Mar 15, 2024
1 parent 1d3c5e4 commit 84d7db3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/main/java/com/cleanroommc/fugue/config/FugueConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -130,12 +130,15 @@ public class FugueConfig {
"""
Non-Update was gone with Security Manager.
As a workaround, These targets will be banned from making connections with URL.openStream().
If you don't need a proxy to access github, you could empty this setting.
This may block more connection than update checks, so if anything gone wrong please open an issue.""")
public static String[] nonUpdateTargets = new String[] {
"xxrexraptorxx.customizeddungeonloot.util.UpdateChecker$1",
"com.nekokittygames.mffs.common.Versioninfo",
"me.ichun.mods.ichunutil.common.thread.ThreadGetResources",
"com.buuz135.industrial.proxy.CommonProxy",
"micdoodle8.mods.galacticraft.core.proxy.ClientProxyCore",
"vazkii.quark.base.client.ContributorRewardHandler$ThreadContributorListLoader",
};

@Config.Comment(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
import com.cleanroommc.fugue.Fugue;
import javassist.ClassPool;
import javassist.CtClass;
import javassist.Modifier;
import top.outlands.foundation.IExplicitTransformer;

import java.io.ByteArrayInputStream;
import java.lang.reflect.Modifier;
import java.util.Arrays;
import java.util.Map;

Expand Down

0 comments on commit 84d7db3

Please sign in to comment.