diff options
author | Minteck <nekostarfan@gmail.com> | 2021-08-13 17:14:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-13 17:14:01 +0200 |
commit | a3104b69bc8153eed684f54e4249c84a6559182f (patch) | |
tree | e012e3c33ec9325e904fa2a1da1a018136bd1b0c /typescript/mainloader.js | |
parent | 6ef10184a21592fe415a909e549f813ae53273f3 (diff) | |
parent | 2fcdada6864751ec708ace9ccd8c28d6d99aab06 (diff) | |
download | kartik-client-a3104b69bc8153eed684f54e4249c84a6559182f.tar.gz kartik-client-a3104b69bc8153eed684f54e4249c84a6559182f.tar.bz2 kartik-client-a3104b69bc8153eed684f54e4249c84a6559182f.zip |
Merge pull request #6 from Minteck/testing
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 |