Skip to content

Commit

Permalink
Added build env gui and download package link
Browse files Browse the repository at this point in the history
via git submodule
  • Loading branch information
dimasites committed Apr 30, 2023
1 parent e555158 commit b1850b8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "_build/env"]
path = _build/env
url = https://github.com/dimasites/modx-build-environment-gui
1 change: 1 addition & 0 deletions _build/env
Submodule env added at f8ff67
4 changes: 4 additions & 0 deletions _build/minishop2/build.transport.php
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,10 @@
}
}
$modx->log(modX::LOG_LEVEL_INFO, "\n<br />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<br /><a target='_blank' href='{$download_url}'>[DOWNLOAD PACKAGE]</a><br />\n");

echo '</pre>';

if (!empty($_GET['download'])) {
Expand Down

0 comments on commit b1850b8

Please sign in to comment.