Skip to content

Commit

Permalink
Fix first install
Browse files Browse the repository at this point in the history
  • Loading branch information
Justsnoopy30 committed Nov 11, 2021
1 parent dc49071 commit 6fd8d07
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
org.gradle.jvmargs=-Xmx1G

# Version and packaging info
version=1.2.4
version=1.2.5
maven_group=net.hypercubemc
archives_base_name=Universe-Installer

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ public class Installer {
InstallerMeta INSTALLER_META;
List<InstallerMeta.Edition> EDITIONS;
List<String> GAME_VERSIONS;
String MAVEN_URL = "https://raw.githubusercontent.com/HyperCubeMC/Universe-Installer-Maven/master/";
String META_URL = "https://raw.githubusercontent.com/HyperCubeMC/Universe-Installer-Files/master/meta.json";
String REPO_URL = "https://github.com/HyperCubeMC/Universe-Installer-Files.git";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ private static void editVersionJson(Json profileJson) {
String name = entry.asJsonMap().get("name").asString();
if (name.startsWith("net.fabricmc:fabric-loader:")) {
entry.asJsonMap().put("name", factory.string("net.hypercubemc:universe-loader:" + name.substring(id.length())));
entry.asJsonMap().put("url", factory.string("https://github.com/HyperCubeMC/Universe-Installer-Maven/master/"));
entry.asJsonMap().put("url", factory.string(Installer.INSTANCE.MAVEN_URL));
}
}
}
Expand Down

0 comments on commit 6fd8d07

Please sign in to comment.