Commit 3feb6ccd authored by Mickaël Desfrênes's avatar Mickaël Desfrênes
Browse files

change max distro location

parent ca18c76b
Loading
Loading
Loading
Loading
+4 −3
Changes for src/climax/__main__.py: 4 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -32,7 +32,7 @@ BASEX_DISTRO = "https://files.basex.org/releases/11.1/BaseX111.zip"
SAXON_DISTRO = (
    "https://repo1.maven.org/maven2/net/sf/saxon/Saxon-HE/10.8/Saxon-HE-10.8.jar"
)
MAX_DISTRO = "https://acasa.bontards.com/max-distro.zip"
MAX_DISTRO = "https://git.unicaen.fr/pdn-certic/max-v2/-/archive/0.0.1-alpha/max-v2-0.0.1-alpha.zip"
JAVA_DISTROS = {
    "darwin/arm64": "https://download.java.net/java/GA/jdk22.0.2/c9ecb94cd31b495da20a27d4581645e8/9/GPL/openjdk-22.0.2_macos-aarch64_bin.tar.gz",
    "linux/x86_64": "https://download.java.net/java/GA/jdk22.0.2/c9ecb94cd31b495da20a27d4581645e8/9/GPL/openjdk-22.0.2_linux-x64_bin.tar.gz",
@@ -575,7 +575,8 @@ def config():
def mirror(
    directory: Annotated[
        Optional[Path], typer.Argument(help=_("chemin vers un dossier"))
    ] = Path(os.getcwd(), "output"), debug: bool = False
    ] = Path(os.getcwd(), "output"),
    debug: bool = False,
):
    config = max_config()
    # start server on specific port
@@ -592,7 +593,7 @@ def mirror(
                project_folder=str(directory),
                project_name=config.title,
                threaded=False,
                debug=debug
                debug=debug,
            )
    except Exception as e:
        stop(stop_port)