From 2e462229f8b17bd2210118a545c24cdf4a21348c Mon Sep 17 00:00:00 2001 From: 1024x2 Date: Thu, 12 Sep 2024 15:16:15 +0100 Subject: Update patches --- vencord-patches/0001-Remove-donator-badges.patch | 14 +++++++------- vencord-patches/0002-Small-rebrand.patch | 10 +++++----- .../0003-Experiments-Re-add-staging-banner.patch | 6 +++--- ...ater-don-t-prompt-for-updates-when-on-a-local-bra.patch | 6 +++--- ...Enable-CSP-bypass-on-stock-discord-desktop-client.patch | 6 +++--- .../0006-Updater-Disable-auto-update-by-default.patch | 6 +++--- ...portHelper-Disable-running-arbitrary-code-snippet.patch | 6 +++--- vencord-patches/0008-ReplaceGoogleSearch.patch | 6 +++--- 8 files changed, 30 insertions(+), 30 deletions(-) (limited to 'vencord-patches') diff --git a/vencord-patches/0001-Remove-donator-badges.patch b/vencord-patches/0001-Remove-donator-badges.patch index 0498ead..78d3ce5 100644 --- a/vencord-patches/0001-Remove-donator-badges.patch +++ b/vencord-patches/0001-Remove-donator-badges.patch @@ -1,4 +1,4 @@ -From 5513b5fe92a7de00979a21e78741b1dc24241a5c Mon Sep 17 00:00:00 2001 +From 84e0fc4685dbddc3cba70fff6df67bc4caaf1a35 Mon Sep 17 00:00:00 2001 From: 1024x2 <2pow11@gmail.com> Date: Wed, 24 Apr 2024 23:30:05 +0100 Subject: [PATCH 1/8] Remove donator badges @@ -12,7 +12,7 @@ It's easiest to just get rid of the feature entirely. 2 files changed, 1 insertion(+), 97 deletions(-) diff --git a/src/api/Badges.ts b/src/api/Badges.ts -index 7a041f1e..fefbd439 100644 +index 7a041f1..fefbd43 100644 --- a/src/api/Badges.ts +++ b/src/api/Badges.ts @@ -90,8 +90,7 @@ export function _getBadges(args: BadgeUserArgs) { @@ -26,10 +26,10 @@ index 7a041f1e..fefbd439 100644 return badges; } diff --git a/src/plugins/_api/badges/index.tsx b/src/plugins/_api/badges/index.tsx -index 89a992ac..642769c8 100644 +index c44d98b..28a7edb 100644 --- a/src/plugins/_api/badges/index.tsx +++ b/src/plugins/_api/badges/index.tsx -@@ -43,19 +43,6 @@ const ContributorBadge: ProfileBadge = { +@@ -41,19 +41,6 @@ const ContributorBadge: ProfileBadge = { onClick: (_, { userId }) => openContributorModal(UserStore.getUser(userId)) }; @@ -49,7 +49,7 @@ index 89a992ac..642769c8 100644 export default definePlugin({ name: "BadgeAPI", description: "API to add badges to users.", -@@ -119,20 +106,8 @@ export default definePlugin({ +@@ -89,20 +76,8 @@ export default definePlugin({ } ], @@ -70,7 +70,7 @@ index 89a992ac..642769c8 100644 }, getBadges(props: { userId: string; user?: User; guildId: string; }) { -@@ -152,74 +127,4 @@ export default definePlugin({ +@@ -122,74 +97,4 @@ export default definePlugin({ const Component = badge.component!; return ; }, { noop: true }), @@ -146,5 +146,5 @@ index 89a992ac..642769c8 100644 - } }); -- -2.45.2 +2.46.0 diff --git a/vencord-patches/0002-Small-rebrand.patch b/vencord-patches/0002-Small-rebrand.patch index 0c72f5c..b7192e0 100644 --- a/vencord-patches/0002-Small-rebrand.patch +++ b/vencord-patches/0002-Small-rebrand.patch @@ -1,4 +1,4 @@ -From e5d50191a03a95601dae62aed9f192f242706009 Mon Sep 17 00:00:00 2001 +From a8e3c2075358c6d311959c37a64b5ab5adb4ba18 Mon Sep 17 00:00:00 2001 From: 1024x2 <2pow11@gmail.com> Date: Sat, 8 Jun 2024 22:58:09 +0100 Subject: [PATCH 2/8] Small rebrand @@ -11,7 +11,7 @@ There's a litevex in here! It's got my gun!!! AHHHHHHHH 3 files changed, 28 insertions(+), 34 deletions(-) diff --git a/README.md b/README.md -index 61575d4b..995af92d 100644 +index 61575d4..995af92 100644 --- a/README.md +++ b/README.md @@ -1,20 +1,21 @@ @@ -104,7 +104,7 @@ index 61575d4b..995af92d 100644 + +big big chungus big chungus big chungus diff --git a/src/components/VencordSettings/VencordTab.tsx b/src/components/VencordSettings/VencordTab.tsx -index 97f82e77..675682e8 100644 +index 97f82e7..675682e 100644 --- a/src/components/VencordSettings/VencordTab.tsx +++ b/src/components/VencordSettings/VencordTab.tsx @@ -35,8 +35,8 @@ import { SettingsTab, wrapTab } from "./shared"; @@ -119,7 +119,7 @@ index 97f82e77..675682e8 100644 type KeysOfType = { [K in keyof Object]: Object[K] extends Type ? K : never; diff --git a/src/plugins/vencordToolbox/index.tsx b/src/plugins/vencordToolbox/index.tsx -index 00805fbd..7d935f4a 100644 +index 00805fb..7d935f4 100644 --- a/src/plugins/vencordToolbox/index.tsx +++ b/src/plugins/vencordToolbox/index.tsx @@ -86,10 +86,10 @@ function VencordPopout(onClose: () => void) { @@ -148,5 +148,5 @@ index 00805fbd..7d935f4a 100644 /> )} -- -2.45.2 +2.46.0 diff --git a/vencord-patches/0003-Experiments-Re-add-staging-banner.patch b/vencord-patches/0003-Experiments-Re-add-staging-banner.patch index bd2b002..1fb5b92 100644 --- a/vencord-patches/0003-Experiments-Re-add-staging-banner.patch +++ b/vencord-patches/0003-Experiments-Re-add-staging-banner.patch @@ -1,4 +1,4 @@ -From 2eb6e109c85aa251904d7d7322ba6c80bd5503a2 Mon Sep 17 00:00:00 2001 +From 068810e120c3a9156540662650886caf887b60a7 Mon Sep 17 00:00:00 2001 From: 1024x2 <2pow11@gmail.com> Date: Thu, 13 Jun 2024 01:00:35 +0100 Subject: [PATCH 3/8] Experiments: Re-add staging banner @@ -9,7 +9,7 @@ Subject: [PATCH 3/8] Experiments: Re-add staging banner 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/src/plugins/experiments/index.tsx b/src/plugins/experiments/index.tsx -index 33c32b1a..2992807e 100644 +index 33c32b1..2992807 100644 --- a/src/plugins/experiments/index.tsx +++ b/src/plugins/experiments/index.tsx @@ -21,16 +21,24 @@ import { disableStyle, enableStyle } from "@api/Styles"; @@ -54,5 +54,5 @@ index 33c32b1a..2992807e 100644 ], -- -2.45.2 +2.46.0 diff --git a/vencord-patches/0004-Updater-don-t-prompt-for-updates-when-on-a-local-bra.patch b/vencord-patches/0004-Updater-don-t-prompt-for-updates-when-on-a-local-bra.patch index 83bd402..d1ec0ec 100644 --- a/vencord-patches/0004-Updater-don-t-prompt-for-updates-when-on-a-local-bra.patch +++ b/vencord-patches/0004-Updater-don-t-prompt-for-updates-when-on-a-local-bra.patch @@ -1,4 +1,4 @@ -From 3bdfceda8ef7add84ddb39428c67e391d796c001 Mon Sep 17 00:00:00 2001 +From 17bfc033158bdce9344f166864ca35b03699e341 Mon Sep 17 00:00:00 2001 From: 1024x2 <2pow11@gmail.com> Date: Sat, 9 Mar 2024 08:00:55 +0000 Subject: [PATCH 4/8] Updater: don't prompt for updates when on a local branch @@ -8,7 +8,7 @@ Subject: [PATCH 4/8] Updater: don't prompt for updates when on a local branch 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/main/updater/git.ts b/src/main/updater/git.ts -index 1955f7dc..0226565e 100644 +index 1955f7d..0226565 100644 --- a/src/main/updater/git.ts +++ b/src/main/updater/git.ts @@ -49,12 +49,7 @@ async function getRepo() { @@ -26,5 +26,5 @@ index 1955f7dc..0226565e 100644 const commits = res.stdout.trim(); return commits ? commits.split("\n").map(line => { -- -2.45.2 +2.46.0 diff --git a/vencord-patches/0005-Enable-CSP-bypass-on-stock-discord-desktop-client.patch b/vencord-patches/0005-Enable-CSP-bypass-on-stock-discord-desktop-client.patch index 3dd3dab..b6732c1 100644 --- a/vencord-patches/0005-Enable-CSP-bypass-on-stock-discord-desktop-client.patch +++ b/vencord-patches/0005-Enable-CSP-bypass-on-stock-discord-desktop-client.patch @@ -1,4 +1,4 @@ -From d0191e9b6ab6e6ae44857ee97ba392e8fbca91fd Mon Sep 17 00:00:00 2001 +From 0582aecc1b49de2e34022b81f55f3092dcd08e34 Mon Sep 17 00:00:00 2001 From: 1024x2 <2pow11@gmail.com> Date: Wed, 27 Dec 2023 15:05:44 +0000 Subject: [PATCH 5/8] Enable CSP bypass on stock discord desktop client @@ -8,7 +8,7 @@ Subject: [PATCH 5/8] Enable CSP bypass on stock discord desktop client 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/index.ts b/src/main/index.ts -index 5519d47a..64e71c15 100644 +index 5519d47..64e71c1 100644 --- a/src/main/index.ts +++ b/src/main/index.ts @@ -24,10 +24,11 @@ import { RendererSettings } from "./settings"; @@ -25,5 +25,5 @@ index 5519d47a..64e71c15 100644 let url = unsafeUrl.slice("vencord://".length); if (url.endsWith("/")) url = url.slice(0, -1); -- -2.45.2 +2.46.0 diff --git a/vencord-patches/0006-Updater-Disable-auto-update-by-default.patch b/vencord-patches/0006-Updater-Disable-auto-update-by-default.patch index c22aa3b..fb9517e 100644 --- a/vencord-patches/0006-Updater-Disable-auto-update-by-default.patch +++ b/vencord-patches/0006-Updater-Disable-auto-update-by-default.patch @@ -1,4 +1,4 @@ -From c343fc737e26195eb7c5f4af4c1e506d73f46465 Mon Sep 17 00:00:00 2001 +From 9159ba3d4e133cda94df24fec231dd256d94c70c Mon Sep 17 00:00:00 2001 From: 1024x2 <2pow11@gmail.com> Date: Sun, 21 Apr 2024 21:22:25 +0100 Subject: [PATCH 6/8] Updater: Disable auto-update by default @@ -8,7 +8,7 @@ Subject: [PATCH 6/8] Updater: Disable auto-update by default 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/Settings.ts b/src/api/Settings.ts -index 88337a91..4473bc1c 100644 +index ac116f5..0f4c269 100644 --- a/src/api/Settings.ts +++ b/src/api/Settings.ts @@ -77,7 +77,7 @@ export interface Settings { @@ -21,5 +21,5 @@ index 88337a91..4473bc1c 100644 useQuickCss: true, themeLinks: [], -- -2.45.2 +2.46.0 diff --git a/vencord-patches/0007-SupportHelper-Disable-running-arbitrary-code-snippet.patch b/vencord-patches/0007-SupportHelper-Disable-running-arbitrary-code-snippet.patch index eb08fe5..cb9ddad 100644 --- a/vencord-patches/0007-SupportHelper-Disable-running-arbitrary-code-snippet.patch +++ b/vencord-patches/0007-SupportHelper-Disable-running-arbitrary-code-snippet.patch @@ -1,4 +1,4 @@ -From 1ba374fb928b0706078ab293a7abdab2f45f1643 Mon Sep 17 00:00:00 2001 +From eaef08a2bec89ea80bb2e419c78968baaba1e7e8 Mon Sep 17 00:00:00 2001 From: 1024x2 <2pow11@gmail.com> Date: Sat, 20 Jul 2024 00:21:22 +0100 Subject: [PATCH 7/8] SupportHelper: Disable running arbitrary code snippets @@ -9,7 +9,7 @@ Why is this even a thing? 1 file changed, 22 deletions(-) diff --git a/src/plugins/_core/supportHelper.tsx b/src/plugins/_core/supportHelper.tsx -index de8e37c7..7cb0044d 100644 +index de8e37c..7cb0044 100644 --- a/src/plugins/_core/supportHelper.tsx +++ b/src/plugins/_core/supportHelper.tsx @@ -300,28 +300,6 @@ export default definePlugin({ @@ -42,5 +42,5 @@ index de8e37c7..7cb0044d 100644 return buttons.length -- -2.45.2 +2.46.0 diff --git a/vencord-patches/0008-ReplaceGoogleSearch.patch b/vencord-patches/0008-ReplaceGoogleSearch.patch index 7ad9608..55215eb 100644 --- a/vencord-patches/0008-ReplaceGoogleSearch.patch +++ b/vencord-patches/0008-ReplaceGoogleSearch.patch @@ -1,4 +1,4 @@ -From 3d0cd1cf306a8e010c7389e5b654ac7cd75d1623 Mon Sep 17 00:00:00 2001 +From 7cad16368cf3fb25e41c76c139397db7aa90dd8f Mon Sep 17 00:00:00 2001 From: 1024x2 <2pow11@gmail.com> Date: Sat, 20 Jul 2024 00:04:36 +0100 Subject: [PATCH 8/8] =?UTF-8?q?ReplaceGoogleSearch:=20=E9=87=8D=E6=96=B0?= @@ -13,7 +13,7 @@ Content-Transfer-Encoding: 8bit 1 file changed, 1 insertion(+) diff --git a/src/plugins/replaceGoogleSearch/index.tsx b/src/plugins/replaceGoogleSearch/index.tsx -index 43b0762a..f7d32397 100644 +index 43b0762..f7d3239 100644 --- a/src/plugins/replaceGoogleSearch/index.tsx +++ b/src/plugins/replaceGoogleSearch/index.tsx @@ -17,6 +17,7 @@ const DefaultEngines = { @@ -25,5 +25,5 @@ index 43b0762a..f7d32397 100644 Reddit: "https://www.reddit.com/search?q=", Wikipedia: "https://wikipedia.org/w/index.php?search=", -- -2.45.2 +2.46.0 -- cgit v1.2.3