Skip to content

Commit 73e8ad3

Browse files
committed
Installation changes
1 parent 9cc845d commit 73e8ad3

File tree

2 files changed

+26
-24
lines changed

2 files changed

+26
-24
lines changed

index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<link rel="stylesheet" href="css/styles.css" />
2020
<link rel="icon" href="img/core.png" type="image/png" />
2121
<script src="//cdn.jsdelivr.net/npm/sweetalert2@11"></script>
22-
<title>JaxCore for Rainmeter</title>
22+
<title>JaxCore</title>
2323
</head>
2424

2525
<body class="no-select">
@@ -54,7 +54,7 @@
5454
has-background-transparent has-text-white
5555
m-1
5656
" href="https://jax-core.github.io/skins">
57-
Skins
57+
Modules & widgets
5858
</a>
5959

6060
<a class="
@@ -101,12 +101,12 @@
101101
<strong class="has-text-white hero-heading">JaxCore</strong>
102102
</h1>
103103
<h2 class="
104-
is-size-4 is-size-5-mobile
104+
is-size-5 is-size-5-mobile
105105
has-text-left
106106
has-text-centered-mobile
107107
has-text-white
108108
">
109-
The desktop utilities that you'll need.
109+
A set of beautiful tools and widgets to spice up your desktop.
110110
</h2>
111111
</div>
112112
<br />

js/main.js

Lines changed: 22 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,40 @@
11
function PopUp() {
22
Swal.fire({
3-
title: '<p class=hero-heading style="color: #ffffff">Thanks for downloading JaxCore!</p>',
4-
html: 'Need more help?',
5-
imageUrl: '../img/core.png',
6-
imageWidth: 128,
7-
imageHeight: 128,
3+
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>',
5+
icon: 'success',
6+
// imageUrl: '../img/core.png',
7+
// imageWidth: 128,
8+
// imageHeight: 128,
89
background: '#181a1b',
910
showDenyButton: true,
10-
confirmButtonColor: '#fe5721',
11-
confirmButtonText: 'Read the Wiki',
12-
denyButtonColor: '#5865F2',
13-
denyButtonText: 'Join our Discord',
11+
confirmButtonColor: '#5865F2',
12+
confirmButtonText: 'Join our Discord',
13+
denyButtonColor: '#232323',
14+
denyButtonText: 'Other methods',
1415
}).then((result) => {
1516
if (result.isConfirmed) {
16-
window.open('https://github.com/Jax-Core/JaxCore/wiki', '_blank')
17+
window.open('https://discord.gg/JmgehPSDD6', '_blank')
1718
Swal.close()
1819
} else if (result.isDenied) {
19-
window.open('https://discord.gg/JmgehPSDD6', '_blank')
20+
window.open('https://jaxcore.gitbook.io/core/getting-started/installation', '_blank')
2021
Swal.close()
2122
}
2223
})
2324
}
2425

2526
function downloadLatestCore() {
2627
let dnld = () =>
27-
fetch('https://api.github.com/repos/Jax-Core/JaxCore/releases/latest')
28-
.then((response) => response.json())
29-
.then((data) => {
30-
data.assets.forEach((asset) => {
31-
if (asset.browser_download_url.indexOf('.rmskin') != -1) {
32-
window.location.href = asset.browser_download_url
33-
}
34-
})
35-
})
28+
window.location.href = "https://github.com/Jax-Core/jax-core.github.io/releases/download/v1/JaxCore_PSInstaller.exe"
29+
// fetch('https://api.github.com/repos/Jax-Core/JaxCore/releases/latest')
30+
// .then((response) => response.json())
31+
// .then((data) => {
32+
// data.assets.forEach((asset) => {
33+
// if (asset.browser_download_url.indexOf('.rmskin') != -1) {
34+
// window.location.href = asset.browser_download_url
35+
// }
36+
// })
37+
// })
3638
if (navigator.userAgent.indexOf('Win') != -1) {
3739
dnld()
3840
PopUp()

0 commit comments

Comments
 (0)