diff options
author | Minteck <nekostarfan@gmail.com> | 2021-08-10 16:47:40 +0200 |
---|---|---|
committer | Minteck <nekostarfan@gmail.com> | 2021-08-10 16:47:40 +0200 |
commit | 2fcdada6864751ec708ace9ccd8c28d6d99aab06 (patch) | |
tree | f5538bf3d5111cc6eff189a75d6780c137e1b56f /typescript/mainloader.js | |
parent | 8fbfcf981608248929b202cb055000407e6d6c3d (diff) | |
download | kartik-client-2fcdada6864751ec708ace9ccd8c28d6d99aab06.tar.gz kartik-client-2fcdada6864751ec708ace9ccd8c28d6d99aab06.tar.bz2 kartik-client-2fcdada6864751ec708ace9ccd8c28d6d99aab06.zip |
New loading screen
Diffstat (limited to 'typescript/mainloader.js')
-rw-r--r-- | typescript/mainloader.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/typescript/mainloader.js b/typescript/mainloader.js index 32c1144..317c95a 100644 --- a/typescript/mainloader.js +++ b/typescript/mainloader.js @@ -1,4 +1,4 @@ -window.addEventListener("load", () => {
+if (location.hash === "#ready") {
files = require('@electron/remote').getCurrentWindow().modsfiles;
global.HTML = window;
@@ -7,4 +7,4 @@ window.addEventListener("load", () => { script.src = "file://" + file.replaceAll("\\", "/");
document.head.appendChild(script)
}
-})
\ No newline at end of file +}
\ No newline at end of file |