Skip to content

Commit

Permalink
Make updating internal BlueMap CLI version easier
Browse files Browse the repository at this point in the history
  • Loading branch information
TechnicJelle committed Sep 8, 2024
1 parent 82b807e commit e1b756f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,12 @@ import "project_view/project_view.dart";
import "tech_app.dart";

// == Hardcoded BlueMap CLI JAR download URL and hash ==
const blueMapCliJarUrl = "https://github.com/BlueMap-Minecraft/BlueMap/releases/download/"
"v5.3/BlueMap-5.3-cli.jar";
const blueMapTag = "5.3";
const blueMapCliJarHash =
"a0be9a36325f3caabc6306e9c6dd306aeec464b8abe907e93b6589659c8751f5"; //SHA256

const blueMapCliJarUrl = "https://github.com/BlueMap-Minecraft/BlueMap/releases/download/"
"v$blueMapTag/BlueMap-$blueMapTag-cli.jar";
String get blueMapCliJarName => blueMapCliJarUrl.split("/").last;

const String commit = String.fromEnvironment("commit", defaultValue: "development");
Expand Down

0 comments on commit e1b756f

Please sign in to comment.