From 46d110e849088dcdf57b3bd713f801de93ff77de Mon Sep 17 00:00:00 2001 From: Jax Date: Tue, 26 Jul 2022 16:55:08 +0800 Subject: [PATCH] Changed to ps installer --- js/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/main.js b/js/main.js index e53ccaa..1391332 100644 --- a/js/main.js +++ b/js/main.js @@ -1,7 +1,7 @@ function PopUp() { Swal.fire({ title: '

Thanks for choosing Core!

', - html: '

An exe has been downloaded, please run it to install.

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.

If you are not comfortable with the installation method, click "Other methods" below.

', + html: '

Right click the downloaded .ps1 file and click "Run with Powershell"

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.

If you are not comfortable with the installation method, click "Other methods" below.

', icon: 'success', // imageUrl: '../img/core.png', // imageWidth: 128, @@ -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) => {