diff --git a/resources/images/GameplayScreenshot.png b/resources/images/GameplayScreenshot.png new file mode 100644 index 000000000..e74458c86 Binary files /dev/null and b/resources/images/GameplayScreenshot.png differ diff --git a/src/client/Main.ts b/src/client/Main.ts index 7e268accb..b9cadc34f 100644 --- a/src/client/Main.ts +++ b/src/client/Main.ts @@ -1,4 +1,3 @@ -import favicon from "../../resources/images/Favicon.svg"; import version from "../../resources/version.txt"; import { UserMeResponse } from "../core/ApiSchemas"; import { EventBus } from "../core/EventBus"; @@ -163,7 +162,6 @@ class Client { } }); - setFavicon(); document.addEventListener("join-lobby", this.handleJoinLobby.bind(this)); document.addEventListener("leave-lobby", this.handleLeaveLobby.bind(this)); document.addEventListener("kick-player", this.handleKickPlayer.bind(this)); @@ -535,14 +533,6 @@ document.addEventListener("DOMContentLoaded", () => { new Client().initialize(); }); -function setFavicon(): void { - const link = document.createElement("link"); - link.type = "image/x-icon"; - link.rel = "shortcut icon"; - link.href = favicon; - document.head.appendChild(link); -} - // WARNING: DO NOT EXPOSE THIS ID function getPlayToken(): string { const result = isLoggedIn(); diff --git a/src/client/index.html b/src/client/index.html index a5ef0a1a9..3aee0a93a 100644 --- a/src/client/index.html +++ b/src/client/index.html @@ -5,6 +5,31 @@