Skip to content

Commit

Permalink
Merge pull request #935 from Himani1519/feature/zen_download
Browse files Browse the repository at this point in the history
Feature/zen download
  • Loading branch information
balhar-jakub authored Jul 24, 2024
2 parents bf33737 + f961c6b commit 3220599
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 20 deletions.
16 changes: 8 additions & 8 deletions _includes/legal-script.html
Original file line number Diff line number Diff line change
Expand Up @@ -129,48 +129,48 @@
else if (params.has('type') && params.get('type') == "zen-windows") {
document.getElementById('download_button').href = "post_download.html?version=" + params.get('version') + "&type=" + params.get('type');
document.getElementById('download_button').onclick = function () {
ga && ga('send', 'event', 'download', 'zen-windows' + params.get('version'), 'zowe-enterprise-necessity-' + params.get(
ga && ga('send', 'event', 'download', 'zen-windows' + params.get('version'), 'zowe-server-install-wizard-' + params.get(
'version') + '.exe');
window.open("https://zowe.jfrog.io/zowe/list/libs-release-local/org/zowe/zen/" + params.get('version') +
'/windows' + '/zowe-install-wizard-' + params.get('version') + '%20Setup.exe', '_blank');
}
document.getElementById('download_file_message').innerHTML = 'You are downloading zowe-enterprise-necessity-' + params.get(
document.getElementById('download_file_message').innerHTML = 'You are downloading zowe-server-install-wizard-' + params.get(
'version') +
'.exe';
}
else if (params.has('type') && params.get('type') == "zen-mac") {
document.getElementById('download_button').href = "post_download.html?version=" + params.get('version') + "&type=" + params.get('type');
document.getElementById('download_button').onclick = function () {
ga && ga('send', 'event', 'download', 'zen-mac' + params.get('version'), 'zowe-enterprise-necessity-' + params.get(
ga && ga('send', 'event', 'download', 'zen-mac' + params.get('version'), 'zowe-server-install-wizard-' + params.get(
'version') + '-x64.dmg');
window.open("https://zowe.jfrog.io/zowe/list/libs-release-local/org/zowe/zen/" + params.get('version') +
'/mac' + '/zowe-install-wizard-' + params.get('version') + '-arm64.dmg', '_blank');
}
document.getElementById('download_file_message').innerHTML = 'You are downloading zowe-enterprise-necessity-' + params.get(
document.getElementById('download_file_message').innerHTML = 'You are downloading zowe-server-install-wizard-' + params.get(
'version') +
'.dmg';
}
else if (params.has('type') && params.get('type') == "zen-rpm") {
document.getElementById('download_button').href = "post_download.html?version=" + params.get('version') + "&type=" + params.get('type');
document.getElementById('download_button').onclick = function () {
ga && ga('send', 'event', 'download', 'zen-rpm' + params.get('version'), 'zowe-enterprise-necessity-' + params.get(
ga && ga('send', 'event', 'download', 'zen-rpm' + params.get('version'), 'zowe-server-install-wizard-' + params.get(
'version') + '-1.x86_64.rpm');
window.open("https://zowe.jfrog.io/zowe/list/libs-release-local/org/zowe/zen/" + params.get('version') +
'/unix' + '/zowe-install-wizard-' + params.get('version') + '-1.x86_64.rpm', '_blank');
}
document.getElementById('download_file_message').innerHTML = 'You are downloading zowe-enterprise-necessity-' + params.get(
document.getElementById('download_file_message').innerHTML = 'You are downloading zowe-server-install-wizard-' + params.get(
'version') +
'.rpm';
}
else if (params.has('type') && params.get('type') == "zen-deb") {
document.getElementById('download_button').href = "post_download.html?version=" + params.get('version') + "&type=" + params.get('type');
document.getElementById('download_button').onclick = function () {
ga && ga('send', 'event', 'download', 'zen-deb' + params.get('version'), 'zowe-enterprise-necessity_' + params.get(
ga && ga('send', 'event', 'download', 'zen-deb' + params.get('version'), 'zowe-server-install-wizard_' + params.get(
'version') + '_amd64.deb');
window.open("https://zowe.jfrog.io/zowe/list/libs-release-local/org/zowe/zen/" + params.get('version') +
'/unix' + '/zowe-install-wizard_' + params.get('version') + '_amd64.deb', '_blank');
}
document.getElementById('download_file_message').innerHTML = 'You are downloading zowe-enterprise-necessity-' + params.get(
document.getElementById('download_file_message').innerHTML = 'You are downloading zowe-server-install-wizard-' + params.get(
'version') +
'.deb';
}
Expand Down
16 changes: 8 additions & 8 deletions _includes/post-download-script.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,24 +44,24 @@
package_name = 'Zowe Containerization Build';
break;
case 'zen-windows':
filename_prefix = 'zowe-install-wizard-windows';
filename_prefix = 'zowe-server-install-wizard-windows';
file_ext = 'exe';
package_name = 'zowe-install-wizard'
package_name = 'zowe-server-install-wizard'
break;
case 'zen-mac':
filename_prefix = 'zowe-install-wizard-mac';
filename_prefix = 'zowe-server-install-wizard-mac';
file_ext = '-x64.dmg';
package_name = 'zowe-install-wizard'
package_name = 'zowe-server-install-wizard'
break;
case 'zen-rpm':
filename_prefix = 'zowe-install-wizard-rpm';
filename_prefix = 'zowe-server-install-wizard-rpm';
file_ext = 'x86_64.rpm';
package_name = 'zowe-install-wizard'
package_name = 'zowe-server-install-wizard'
break;
case 'zen-deb':
filename_prefix = 'zowe-install-wizard-deb';
filename_prefix = 'zowe-server-install-wizard-deb';
file_ext = '_amd64.deb';
package_name = 'zowe-install-wizard'
package_name = 'zowe-server-install-wizard'
break;
}
}
Expand Down
9 changes: 5 additions & 4 deletions download.md
Original file line number Diff line number Diff line change
Expand Up @@ -485,12 +485,13 @@
for production.</p>
<div class="card-deck">
<div class="card bg-light border-light mb-3">
<h4 class="card-header" id="zen">Zen Installer</h4>
<h4 class="card-header" id="zen">Zowe Server Install Wizard</h4>
<div class="card-body">
<p class="card-text">The Executable installer for zen.The Zowe Install Wizard is an optional program that you can run on your computer
to guide you through installing Zowe server content onto <b>z/OS</b> .
<p class="card-text">The Zowe Server Install Wizard (formerly known as ZEN) is a program you install on your PC (Windows/mac/linux).
It is an optional alternative to the existing Zowe installation processes, designed to make installation quick and intuitive
by guiding you through installing Zowe server content onto <b>z/OS</b>.
It handles <b>YAML</b>, <b>Unix</b>, and <b>JCL</b> content involved in setup of a Zowe instance
so that you can install Zowe easily by following prompts and verifying the output</p>
so that you can install Zowe easily by following prompts and verifying the output.</p>
<h5 class="card-title">Direct download</h5>
<p><a class="btn btn-primary"
href="{{ site.zen_windows_download_url }}{{ site.data.releases.v2[0].zen_version }}">zen
Expand Down

0 comments on commit 3220599

Please sign in to comment.