This commit is contained in:
1024x2 2024-06-13 01:01:10 +01:00
parent 72fcbfd119
commit d1697c3c30
Signed by: 1024x2
GPG Key ID: DEF24F6555C1934C
4 changed files with 10 additions and 16 deletions

View File

@ -1,18 +1,18 @@
From 91ff27cfc07a3d8100ab3ff8f7e3926a653968b7 Mon Sep 17 00:00:00 2001 From 1460d956d90877547bb1a9164ccad58f43c984bb Mon Sep 17 00:00:00 2001
From: 1024x2 <2pow11@gmail.com> From: 1024x2 <2pow11@gmail.com>
Date: Thu, 13 Jun 2024 00:59:16 +0100 Date: Thu, 13 Jun 2024 01:00:35 +0100
Subject: [PATCH 3/6] Experiments: Re-add staging banner Subject: [PATCH 3/6] Experiments: Re-add staging banner
(it's funny) (it's funny)
--- ---
src/plugins/experiments/index.tsx | 24 +++++++++++++++++++++++- src/plugins/experiments/index.tsx | 18 +++++++++++++++++-
1 file changed, 23 insertions(+), 1 deletion(-) 1 file changed, 17 insertions(+), 1 deletion(-)
diff --git a/src/plugins/experiments/index.tsx b/src/plugins/experiments/index.tsx diff --git a/src/plugins/experiments/index.tsx b/src/plugins/experiments/index.tsx
index 9cb22521..201df515 100644 index 9cb22521..6374c8ac 100644
--- a/src/plugins/experiments/index.tsx --- a/src/plugins/experiments/index.tsx
+++ b/src/plugins/experiments/index.tsx +++ b/src/plugins/experiments/index.tsx
@@ -21,16 +21,30 @@ import { disableStyle, enableStyle } from "@api/Styles"; @@ -21,16 +21,24 @@ import { disableStyle, enableStyle } from "@api/Styles";
import ErrorBoundary from "@components/ErrorBoundary"; import ErrorBoundary from "@components/ErrorBoundary";
import { ErrorCard } from "@components/ErrorCard"; import { ErrorCard } from "@components/ErrorCard";
import { Devs } from "@utils/constants"; import { Devs } from "@utils/constants";
@ -29,12 +29,6 @@ index 9cb22521..201df515 100644
const KbdStyles = findByPropsLazy("key", "removeBuildOverride"); const KbdStyles = findByPropsLazy("key", "removeBuildOverride");
const settings = definePluginSettings({ const settings = definePluginSettings({
+ enableIsStaff: {
+ description: "Enable isStaff",
+ type: OptionType.BOOLEAN,
+ default: false,
+ restartNeeded: true
+ },
+ forceStagingBanner: { + forceStagingBanner: {
+ description: "Whether to force Staging banner under user area.", + description: "Whether to force Staging banner under user area.",
+ type: OptionType.BOOLEAN, + type: OptionType.BOOLEAN,
@ -44,7 +38,7 @@ index 9cb22521..201df515 100644
toolbarDevMenu: { toolbarDevMenu: {
type: OptionType.BOOLEAN, type: OptionType.BOOLEAN,
description: "Change the Help (?) toolbar button (top right in chat) to Discord's developer menu", description: "Change the Help (?) toolbar button (top right in chat) to Discord's developer menu",
@@ -91,6 +105,14 @@ export default definePlugin({ @@ -91,6 +99,14 @@ export default definePlugin({
match: /!\(\i\.isDM\(\)\|\|\i\.isThread\(\)\)/, match: /!\(\i\.isDM\(\)\|\|\i\.isThread\(\)\)/,
replace: "true", replace: "true",
} }

View File

@ -1,4 +1,4 @@
From 41acca337b9dcf3ad1a71d949a635bd9537eccee Mon Sep 17 00:00:00 2001 From 9d07ec222bebf8957da4888f935671a11ff8d633 Mon Sep 17 00:00:00 2001
From: 1024x2 <2pow11@gmail.com> From: 1024x2 <2pow11@gmail.com>
Date: Sat, 9 Mar 2024 08:00:55 +0000 Date: Sat, 9 Mar 2024 08:00:55 +0000
Subject: [PATCH 4/6] Updater: don't prompt for updates when on a local branch Subject: [PATCH 4/6] Updater: don't prompt for updates when on a local branch

View File

@ -1,4 +1,4 @@
From 5b5f38a2f78bdcbce52ec03efd5b2baccc5eeb7c Mon Sep 17 00:00:00 2001 From 7624067dbd0795b4bf87f7786226a60f1d7b06e6 Mon Sep 17 00:00:00 2001
From: 1024x2 <2pow11@gmail.com> From: 1024x2 <2pow11@gmail.com>
Date: Wed, 27 Dec 2023 15:05:44 +0000 Date: Wed, 27 Dec 2023 15:05:44 +0000
Subject: [PATCH 5/6] Enable CSP bypass on stock discord desktop client Subject: [PATCH 5/6] Enable CSP bypass on stock discord desktop client

View File

@ -1,4 +1,4 @@
From 88c5d967763b474bb6bd16410efb5925ede88dbe Mon Sep 17 00:00:00 2001 From 9504b94a562aea236704b522005e68aa4d8afee4 Mon Sep 17 00:00:00 2001
From: 1024x2 <2pow11@gmail.com> From: 1024x2 <2pow11@gmail.com>
Date: Sun, 21 Apr 2024 21:22:25 +0100 Date: Sun, 21 Apr 2024 21:22:25 +0100
Subject: [PATCH 6/6] Updater: Disable auto-update by default Subject: [PATCH 6/6] Updater: Disable auto-update by default