Skip to content

Commit

Permalink
Changed to ps installer
Browse files Browse the repository at this point in the history
  • Loading branch information
EnhancedJax committed Jul 26, 2022
1 parent 547a99f commit 46d110e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/main.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
function PopUp() {
Swal.fire({
title: '<p class=hero-heading style="color: #ffffff">Thanks for choosing Core!</p>',
html: ' <p class="has-text-white" style="font-size: 16px">An exe has been downloaded, please run it to install.<br><br>If Windows or your browser blocks it, click run anyway (you may also need to click "more info" to see the option). It gets blocked just because the file isn\'t known.<br><br>If you are not comfortable with the installation method, click "Other methods" below.</p>',
html: ' <p class="has-text-white" style="font-size: 16px">Right click the downloaded .ps1 file and click "Run with Powershell"<br><br>If Windows or your browser blocks it, click run anyway (you may also need to click "more info" to see the option). It gets blocked just because the file isn\'t known.<br><br>If you are not comfortable with the installation method, click "Other methods" below.</p>',
icon: 'success',
// imageUrl: '../img/core.png',
// imageWidth: 128,
Expand All @@ -25,7 +25,7 @@ function PopUp() {

function downloadLatestCore() {
let dnld = () =>
window.location.href = "https://github.com/Jax-Core/jax-core.github.io/releases/download/v1/JaxCoreSetup.exe"
window.location.href = "https://github.com/Jax-Core/jax-core.github.io/releases/download/v1.1/JaxCoreSetup.ps1"
// fetch('https://api.github.com/repos/Jax-Core/JaxCore/releases/latest')
// .then((response) => response.json())
// .then((data) => {
Expand Down

0 comments on commit 46d110e

Please sign in to comment.