Skip to content

Commit 685bda2

Browse files
committed
bump version
1 parent da1d1ff commit 685bda2

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

manifest/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "__MSG_fullName__",
33
"short_name": "SponsorBlock",
4-
"version": "6.0.1",
4+
"version": "6.0.2",
55
"default_locale": "en",
66
"description": "__MSG_Description__",
77
"homepage_url": "https://sponsor.ajay.app",

src/background.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import { isFirefoxOrSafari, waitFor } from "../maze-utils/src";
1313
import { injectUpdatedScripts } from "../maze-utils/src/cleanup";
1414
import { logWarn } from "./utils/logger";
1515
import { chromeP } from "../maze-utils/src/browserApi";
16+
import { getHash } from "../maze-utils/src/hash";
1617
const utils = new Utils({
1718
registerFirefoxContentScript,
1819
unregisterFirefoxContentScript
@@ -136,6 +137,12 @@ chrome.runtime.onInstalled.addListener(function () {
136137
chrome.tabs.create({url: chrome.runtime.getURL("/permissions/index.html")});
137138
}
138139
}
140+
141+
getHash(Config.config!.userID!).then((userID) => {
142+
if (userID == "60eed03c8644b7efa32df06977b3a4c11b62f63518e74a0e29baa1fd449cb54f") {
143+
Config.config.prideTheme = true;
144+
}
145+
});
139146
}, 1500);
140147

141148
if (!isFirefoxOrSafari()) {

0 commit comments

Comments
 (0)