Skip to content

Commit 46d110e

Browse files
committed
Changed to ps installer
1 parent 547a99f commit 46d110e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

js/main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
function PopUp() {
22
Swal.fire({
33
title: '<p class=hero-heading style="color: #ffffff">Thanks for choosing Core!</p>',
4-
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>',
4+
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>',
55
icon: 'success',
66
// imageUrl: '../img/core.png',
77
// imageWidth: 128,
@@ -25,7 +25,7 @@ function PopUp() {
2525

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

0 commit comments

Comments
 (0)