From cc9152a7e78bdd075b302af4020c27759f233c8c Mon Sep 17 00:00:00 2001 From: dimasites Date: Mon, 1 May 2023 01:32:37 +0300 Subject: [PATCH] Added build env gui and download package link via git submodule --- .gitmodules | 3 +++ _build/env | 1 + _build/minishop2/build.transport.php | 4 ++++ build/env | 1 - 4 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 .gitmodules create mode 160000 _build/env delete mode 160000 build/env diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 000000000..88876930c --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "_build/env"] + path = _build/env + url = https://github.com/dimasites/modx-build-environment-gui diff --git a/_build/env b/_build/env new file mode 160000 index 000000000..f8ff67d04 --- /dev/null +++ b/_build/env @@ -0,0 +1 @@ +Subproject commit f8ff67d042cf10d9e07e3d0ad18e96c3fb82fa94 diff --git a/_build/minishop2/build.transport.php b/_build/minishop2/build.transport.php index 4d4bedeab..f80ee3bf1 100644 --- a/_build/minishop2/build.transport.php +++ b/_build/minishop2/build.transport.php @@ -304,6 +304,10 @@ } } $modx->log(modX::LOG_LEVEL_INFO, "\n
Execution time: {$totalTime}\n"); + +$download_url = '/_build/env/index.php?getpackage='.PKG_NAME_LOWER.'-'.PKG_VERSION.'-'.PKG_RELEASE; +$modx->log(modX::LOG_LEVEL_INFO,"\n
[DOWNLOAD PACKAGE]
\n"); + echo ''; if (!empty($_GET['download'])) { diff --git a/build/env b/build/env deleted file mode 160000 index d46cb091b..000000000 --- a/build/env +++ /dev/null @@ -1 +0,0 @@ -Subproject commit d46cb091b024b1f24bc970870808bfdc39c78704