Skip to content

Commit 0349019

Browse files
author
Malware
committed
Update Source code to 4.0.3
Brain Damage
1 parent 4f8225d commit 0349019

File tree

13 files changed

+284
-97
lines changed

13 files changed

+284
-97
lines changed

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
dist/
2+
node_modules/
3+
package-lock.json
4+
yarn-error.log
5+
yarn.lock

build/icon.png

90.5 KB
Loading

build_win32.bat

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
yarn dist
1+
call yarn dist-32bit
2+
pause

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Sploder",
3-
"version": "3.0.1",
3+
"version": "4.0.3",
44
"author": "Saptarshi",
55
"description": "Sploder Launcher",
66
"license": "MIT",
@@ -34,7 +34,8 @@
3434
"runAfterFinish": "true"
3535
},
3636
"extraResources": [
37-
"./plugins/**"
37+
"./plugins/**",
38+
"./src/local/**"
3839
]
3940
}
4041
}

plugins/x64/a

Lines changed: 0 additions & 1 deletion
This file was deleted.

readme.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ A project that aims to revive <a href="https://sploder.com">sploder</a>.
55
- Run the installer.<br>
66
- Done.<br>
77
<h1>How to build:</h1>
8+
- Precaution: DO NOT look at the source code... You will die of brain damage.<br>
9+
- Use node 14.10.0.<br>
810
- Install yarn.<br>
911
- Install all the required packages by running <code>yarn</code>.<br>
1012
- Run <code>yarn dist</code>.<br>
455 Bytes
Loading

src/local/images/icon.png

90.5 KB
Loading

src/local/images/logo.png

54 KB
Loading

src/local/offline.html

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
2+
<!DOCTYPE html>
3+
<html lang="en-US"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
4+
5+
<meta name="viewport" content="width=device-width, initial-scale=0.75">
6+
7+
<title>Sploder</title>
8+
<style>*{margin:0;padding:0}html,body{width:100%;height:100%}body{margin:0;background-color:#32103C;font-family:"Helvetica Neue",Helvetica,Arial,Sans-serif;color:#fff}img{display:block}img.icon{z-index:-1;margin:-40px 0}img.logo{position:relative;z-index:1000}a{color:#ea0}h1,h2{color:#fff;margin-bottom:.25em}p{color:#ccc}table{height:100%;padding:20px}td.announce{margin-top:25%}div.cloudflare_logo{margin:10px 20px}ul{margin-top:20px;width:75%;background-color:#000;padding:20px;border-radius:10px}ul li{font-size:.8em;text-align:left;list-style-type:none}ul li p{color:#666}p.cferror_msg{padding-left:10%;padding-right:10%}</style>
9+
<script type="text/javascript">
10+
// All hail GitHub Copilot!!
11+
function getRetryParameter() {
12+
// Get the current URL
13+
var currentUrl = window.location.href;
14+
15+
// Create a URL object
16+
var url = new URL(currentUrl);
17+
18+
// Get the value of the 'retry' parameter
19+
var retryParameterValue = url.searchParams.get('retry');
20+
21+
// Provide a default value if the 'retry' parameter is not present
22+
return retryParameterValue !== null ? retryParameterValue : 'defaultValue';
23+
}
24+
25+
26+
</script>
27+
28+
29+
</head>
30+
<body>
31+
<table width="100%" cellpadding="30">
32+
<tbody><tr>
33+
<td class="announce" align="center" valign="center">
34+
<img style="margin-top:-40px;" alt="Sploder" class="logo" width="203" height="160" src="images/logo.png"><
35+
<img class="icon" width="200" height="200" src="images/icon.png">
36+
<div class="cf-error-details cf-error-522">
37+
<BR><BR><br><h1>Whoops... Could not connect to the server.</h1>
38+
<p>Check your internet connection and try again.</p>
39+
<p>If that does not work, please email <a href="mailto:malware8148@skiff.com">malware8148@skiff.com</a> with your exact issue.</p>
40+
<br><a onclick="retry()" id="retrybtn"><button style="outline:none;border:1px solid #7b8eac;background:url('images/button_bkgd_small.jpg') repeat-x top;padding:8px 12px;margin-left:10px;white-space:nowrap;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;color:#ec0;cursor: pointer;">Try again</button></a>
41+
<script>
42+
// Check if we actually retried and not come here for the first time.
43+
var retried;
44+
function retry(){
45+
retried = true;
46+
}
47+
const btn = document.getElementById('retrybtn');
48+
btn.setAttribute('href', getRetryParameter());
49+
50+
</script>
51+
52+
</div>
53+
54+
</td>
55+
</tr>
56+
</tbody></table>
57+
58+
59+
60+
</body></html>

0 commit comments

Comments
 (0)