From b8c2a3372445735476f603a34d431ad596ff5222 Mon Sep 17 00:00:00 2001 From: TonimatasDEV Date: Thu, 21 Mar 2024 15:57:08 +0100 Subject: [PATCH] Add the repositories in the installer --- .../org/magmafoundation/magma/installer/MagmaInstaller.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/magmalauncher/src/main/java/org/magmafoundation/magma/installer/MagmaInstaller.java b/magmalauncher/src/main/java/org/magmafoundation/magma/installer/MagmaInstaller.java index 2e9464a..cb20412 100644 --- a/magmalauncher/src/main/java/org/magmafoundation/magma/installer/MagmaInstaller.java +++ b/magmalauncher/src/main/java/org/magmafoundation/magma/installer/MagmaInstaller.java @@ -393,11 +393,13 @@ public Path getDependencyPath(Dependency dependency, boolean relocated) { manager.loadFromResource(new URL("jar:file:" + JarTool.getJarPath() + "!/data/magma_libraries.txt")); List standardRepositories = new ArrayList<>(); - standardRepositories.add(new StandardRepository("https://nexus.c0d3m4513r.com/repository/Magma/")); + standardRepositories.add(new StandardRepository("https://nexus.c0d3m4513r.com/repository/Magma")); standardRepositories.add(new StandardRepository("https://maven.minecraftforge.net")); + standardRepositories.add(new StandardRepository("https://maven.fabricmc.net")); standardRepositories.add(new StandardRepository("https://repo1.maven.org/maven2")); - standardRepositories.add(new StandardRepository("https://git.magmafoundation.org/magmafoundation/magma-maven-repo/-/raw/repository")); + standardRepositories.add(new StandardRepository("https://raw.github.com/Hexeption/Magma-Repo/master/")); standardRepositories.add(new StandardRepository("https://maven.izzel.io/releases")); + standardRepositories.add(new StandardRepository("https://maven.mohistmc.com")); List dependencies = manager.getDependencies();