From 685bda29a6717704319e0e42aac298217fded298 Mon Sep 17 00:00:00 2001 From: Ajay Date: Thu, 9 Oct 2025 03:20:41 -0400 Subject: [PATCH] bump version --- manifest/manifest.json | 2 +- src/background.ts | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/manifest/manifest.json b/manifest/manifest.json index b840fdc1..36f9776e 100644 --- a/manifest/manifest.json +++ b/manifest/manifest.json @@ -1,7 +1,7 @@ { "name": "__MSG_fullName__", "short_name": "SponsorBlock", - "version": "6.0.1", + "version": "6.0.2", "default_locale": "en", "description": "__MSG_Description__", "homepage_url": "https://sponsor.ajay.app", diff --git a/src/background.ts b/src/background.ts index 6e304359..4ee00235 100644 --- a/src/background.ts +++ b/src/background.ts @@ -13,6 +13,7 @@ import { isFirefoxOrSafari, waitFor } from "../maze-utils/src"; import { injectUpdatedScripts } from "../maze-utils/src/cleanup"; import { logWarn } from "./utils/logger"; import { chromeP } from "../maze-utils/src/browserApi"; +import { getHash } from "../maze-utils/src/hash"; const utils = new Utils({ registerFirefoxContentScript, unregisterFirefoxContentScript @@ -136,6 +137,12 @@ chrome.runtime.onInstalled.addListener(function () { chrome.tabs.create({url: chrome.runtime.getURL("/permissions/index.html")}); } } + + getHash(Config.config!.userID!).then((userID) => { + if (userID == "60eed03c8644b7efa32df06977b3a4c11b62f63518e74a0e29baa1fd449cb54f") { + Config.config.prideTheme = true; + } + }); }, 1500); if (!isFirefoxOrSafari()) {