From f41d699077ed7241ea23a141d58a7c8e1f69f1c9 Mon Sep 17 00:00:00 2001 From: Jean Ouina Date: Thu, 6 Aug 2020 23:35:09 +0200 Subject: [PATCH] Fixing glasscord example link --- .../core/app/BetterDiscord/index.js | 2 +- splash/index.js | 13 +------------ 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/modules/discord_desktop_core/core/app/BetterDiscord/index.js b/modules/discord_desktop_core/core/app/BetterDiscord/index.js index 4402aa7..2d63152 100644 --- a/modules/discord_desktop_core/core/app/BetterDiscord/index.js +++ b/modules/discord_desktop_core/core/app/BetterDiscord/index.js @@ -211,7 +211,7 @@ async function privateInit(){ /** Glasscord Example */ const GlasscordExamplePath = path.join(themePath, "glasscord_example.theme.css") - fetch("https://raw.githubusercontent.com/AryToNeX/Glasscord/master/extras/discord_example.theme.css") + fetch("https://raw.githubusercontent.com/AryToNeX/Glasscord/master/extras/discord_example_theme/discord_example.theme.css") .then(async res => { if(res.status !== 200)return const content = await res.buffer() diff --git a/splash/index.js b/splash/index.js index 188580c..bd3846a 100644 --- a/splash/index.js +++ b/splash/index.js @@ -6201,19 +6201,8 @@ id: "splash" }, r.default.createElement("div", { className: "splash-inner-dl" - }, (Math.floor(Math.random() * 1000) + 1 !== 420) ? r.default.createElement("div", { + }, r.default.createElement("div", { className: "dice-image" - }) : r.default.createElement("iframe", { - id: "ytplayer", - type: "text/html", - width: "300", - height: "167", - src: "https://www.youtube.com/embed/dQw4w9WgXcQ?autoplay=1", /*😳 */ - frameborder: "0", - style: { - marginTop: "-400px", - paddingBottom: "10px" - } }), r.default.createElement("div", { className: "dl-update-message" }, "Must be your lucky day, there’s a new update!"), r.default.createElement("div", {