aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author1024x22024-03-09 08:06:17 +0000
committer1024x22024-03-09 08:06:17 +0000
commit63fa34a1c2713a7ba0a85e852766cb0aa49fcc86 (patch)
treece506048a1c96d26c69b9836caca66ab86381430
parent70b4e1c5352c0fbd84ba01744ca3b397ff303306 (diff)
Tweak toolbox icon, make Updater not show local changes as updates
-rw-r--r--0002-Small-rebrand.patch8
-rw-r--r--0003-Experiments-Re-add-staging-banner.patch2
-rw-r--r--0004-Updater-don-t-prompt-for-updates-when-on-a-local-bra.patch8
-rw-r--r--0005-Enable-CSP-bypass-on-stock-discord-desktop-client.patch2
4 files changed, 10 insertions, 10 deletions
diff --git a/0002-Small-rebrand.patch b/0002-Small-rebrand.patch
index 6c983f3..82c6c57 100644
--- a/0002-Small-rebrand.patch
+++ b/0002-Small-rebrand.patch
@@ -1,6 +1,6 @@
-From f7c8732658d67fae6495e8e3db7aee9e29dd2fb1 Mon Sep 17 00:00:00 2001
+From a6614a12fbccac52ec538ebcb999115e01c2b545 Mon Sep 17 00:00:00 2001
From: 1024x2 <2pow11@gmail.com>
-Date: Tue, 13 Feb 2024 21:26:56 +0000
+Date: Sat, 9 Mar 2024 07:57:26 +0000
Subject: [PATCH 2/5] Small rebrand
There's a litevex in here! It's got my gun!!! AHHHHHHHH
@@ -117,7 +117,7 @@ index ab910ea..8bf18f2 100644
type KeysOfType<Object, Type> = {
[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 00805fb..7983052 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) {
@@ -130,7 +130,7 @@ index 00805fb..7983052 100644
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 27 27" width={24} height={24}>
- <path fill="currentColor" d={isShown ? "M9 0h1v1h1v2h1v2h3V3h1V1h1V0h1v2h1v2h1v7h-1v-1h-3V9h1V6h-1v4h-3v1h1v-1h2v1h3v1h-1v1h-3v2h1v1h1v1h1v3h-1v4h-2v-1h-1v-4h-1v4h-1v1h-2v-4H9v-3h1v-1h1v-1h1v-2H9v-1H8v-1h3V6h-1v3h1v1H8v1H7V4h1V2h1M5 19h2v1h1v1h1v3H4v-1h2v-1H4v-2h1m15-1h2v1h1v2h-2v1h2v1h-5v-3h1v-1h1m4 3h4v1h-4" : "M0 0h7v1H6v1H5v1H4v1H3v1H2v1h5v1H0V6h1V5h1V4h1V3h1V2h1V1H0m13 2h5v1h-1v1h-1v1h-1v1h3v1h-5V7h1V6h1V5h1V4h-3m8 5h1v5h1v-1h1v1h-1v1h1v-1h1v1h-1v3h-1v1h-2v1h-1v1h1v-1h2v-1h1v2h-1v1h-2v1h-1v-1h-1v1h-6v-1h-1v-1h-1v-2h1v1h2v1h3v1h1v-1h-1v-1h-3v-1h-4v-4h1v-2h1v-1h1v-1h1v2h1v1h1v-1h1v1h-1v1h2v-2h1v-2h1v-1h1M8 14h2v1H9v4h1v2h1v1h1v1h1v1h4v1h-6v-1H5v-1H4v-5h1v-1h1v-2h2m17 3h1v3h-1v1h-1v1h-1v2h-2v-2h2v-1h1v-1h1m1 0h1v3h-1v1h-2v-1h1v-1h1"} />
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200" width={24} height={24}>
-+ <path fill="currentColor" fill-rule="evenodd" clip-rule="evenodd" d="M81.2304 40.1913C74.2574 40.5281 65.6603 43.0958 60.9962 46.2344C52.5977 51.8854 47.9515 57.3708 45.8233 64.1477C44.7901 67.4362 44.238 68.2563 42.068 69.7224C40.1606 71.0114 39.5938 72.2313 40.2805 73.5686C40.9482 74.8681 42.1557 75.2016 47.2056 75.4797C54.3919 75.8752 54.8838 76.3022 53.1891 80.6699C52.2944 82.9765 51.1025 86.8213 49.887 91.3249C49.4761 92.8468 48.7098 95.517 48.1833 97.2583C44.2134 110.398 44.9124 118.742 50.612 126.247C53.0384 129.441 53.118 130.165 51.4561 133.924C49.5225 138.297 48.6994 141.361 48.3397 145.521C48.2259 146.833 47.9264 149.151 47.6738 150.673C46.2431 159.293 46.5426 170.599 48.4548 180.137C49.7301 186.499 49.7988 186.934 50.1386 190.843C50.3125 192.837 50.6537 195.457 50.8973 196.664C51.1409 197.871 51.4001 199.352 51.4741 199.955L51.6077 201.053H54.5525H57.4969L57.3822 198.906C57.3192 197.725 57.0576 195.686 56.8007 194.374C56.5444 193.062 56.2363 191.044 56.1164 189.889C55.9965 188.735 55.7766 187.146 55.6269 186.359C55.1335 183.758 55.3051 182.769 56.3188 182.382C57.1296 182.073 66.8693 181.927 96.0688 181.788L124.64 181.652L127.673 181.053C136.142 179.381 138.966 179.08 139.971 179.742C141.751 180.915 141.589 186.426 139.53 194.646C139.134 196.228 138.752 198.08 138.681 198.763C138.611 199.445 138.508 200.239 138.453 200.528L138.353 201.053H141.211C142.784 201.053 144.07 201.022 144.07 200.983C144.07 200.683 145.105 195.943 145.555 194.183C146.935 188.782 147.105 174.389 145.862 168.134C142.856 153.011 141.002 145.785 139.016 141.453C137.429 137.992 137.482 137.644 140.1 134.329C144.664 128.546 149.515 117.544 151.12 109.331C152.777 100.849 151.686 94.3233 147.057 85.0451C143.139 77.1905 142.26 77.7692 158.408 77.5741C170.855 77.4238 172.967 77.337 174.5 76.91C177.156 76.171 177.681 73.259 175.414 71.8401C174.539 71.2924 173.115 71.2772 148.311 71.5453C132.631 71.7151 132.713 71.718 132.222 70.926C132.106 70.7381 132.03 68.1132 132.026 64.1315C132.018 56.8943 131.839 55.4554 130.624 52.841C128.251 47.7353 120.946 42.9002 112.322 40.7266C109.847 40.103 90.0933 39.7629 81.2304 40.1913ZM113.361 47.0273C119.897 49.3622 124.415 52.913 125.655 56.6891C126.427 59.0397 127.032 69.7935 126.454 70.8807C125.912 71.9002 124.605 72.0386 119.901 71.5753C118.337 71.4217 115.897 71.2939 114.478 71.2915C111.18 71.2867 107.642 71.0014 104.641 70.4991C101.62 69.9934 100.275 70.0091 95.7318 70.6021C93.6988 70.8678 90.3293 71.1756 88.2442 71.2858C86.159 71.3964 83.5573 71.5711 82.4626 71.6736C76.9345 72.1913 65.0286 71.5639 58.7674 70.4246C57.3599 70.1684 55.5686 69.8617 54.7866 69.7434C51.3674 69.2243 50.7258 67.9434 52.0091 64.1973C53.9749 58.4567 61.6326 51.5958 69.1933 48.8011C75.7929 46.3618 76.127 46.3308 95.2579 46.3594L111.56 46.3842L113.361 47.0273ZM96.9858 50.1226C95.6394 50.6727 94.3675 51.5858 92.225 53.5404C88.3048 57.117 87.9864 57.1199 83.7895 53.6225C79.2675 49.8535 76.4388 51.3277 75.0905 58.1552C74.8754 59.2429 74.5238 60.646 74.3091 61.2733C72.2789 67.1991 77.052 69.4123 79.7296 63.7871C81.0527 61.0081 81.8119 60.9089 84.3895 63.1778C87.4788 65.8976 89.0654 65.6558 92.4956 61.9422C95.574 58.6103 96.6498 58.6776 97.2644 62.2404C98.0274 66.6619 100.287 69.0425 102.366 67.6142C103.799 66.63 103.866 66.089 103.405 59.2505C102.833 50.7724 101.174 48.4123 96.9858 50.1226ZM107.674 76.8117C111.461 77.2941 117.607 77.5698 125.114 77.5937C136.474 77.6299 137.197 77.7573 138.248 79.9032C140.457 84.4187 143.97 91.9108 144.498 93.2351C147.705 101.272 146.195 111.098 139.768 124.036C136.001 131.619 131.326 135.242 123.235 136.845C120.865 137.314 117.549 138.055 113.748 138.963C110.337 139.779 99.8036 140.064 89.3815 139.622L85.9694 139.478L80.9461 138C69.9188 134.757 63.552 131.228 57.1908 124.835C50.5234 118.135 49.8059 111.14 54.3308 96.9582C54.799 95.4907 55.4392 93.258 55.7539 91.9966C57.6192 84.5089 58.4651 82.4618 60.5654 80.3521C63.2164 77.6896 63.5098 77.6361 75.8279 77.5951C84.8141 77.5646 90.1227 77.3332 92.9832 76.8466C96.3479 76.2741 96.2659 76.2793 100.566 76.349C103.103 76.3905 105.68 76.5579 107.674 76.8117ZM80.9162 91.2343C79.9049 91.7872 79.1585 93.7041 78.4737 97.5093C77.4221 103.353 77.9368 106.019 80.1172 106.019C82.954 106.019 84.6112 101.741 84.3027 95.215C84.1392 91.7562 82.8128 90.1971 80.9162 91.2343ZM109.096 91.677C105.147 94.111 102.345 105.379 105.246 107.159C107.508 108.547 109.135 106.741 110.511 101.315C110.906 99.7563 111.453 97.7201 111.727 96.7898C112.851 92.9641 111.444 90.2295 109.096 91.677ZM76.2734 116.131C73.5034 116.525 72.0907 118.213 73.0973 119.929C73.9546 121.39 75.1194 121.655 80.7565 121.669C90.1829 121.693 95.3385 121.973 98.3857 122.625C105.613 124.172 111.125 122.863 110.133 119.836C109.581 118.152 108.384 117.708 103.756 117.465C101.676 117.357 99.6482 117.137 98.6378 116.911C95.2627 116.156 79.8751 115.619 76.2734 116.131ZM64.1472 137.61C66.2897 138.717 69.8454 140.349 72.049 141.237C77.9084 143.597 77.8567 143.539 77.061 146.887C76.3179 150.016 76.1298 154.113 76.3184 163.077C76.6227 177.552 77.8363 176.314 63.1055 176.552C52.3759 176.726 53.3687 177.312 53.0498 170.615C52.6256 161.714 53.0147 152.532 54.1137 145.521C55.7539 135.054 57.1173 133.978 64.1472 137.61ZM131.5 141.885C133.488 142.793 135.523 147.419 137.045 154.49C137.169 155.067 137.604 156.999 138.01 158.784C141.43 173.789 141.417 173.862 135.366 174.16C132.882 174.282 131.324 174.464 129.795 174.808C122.531 176.446 116.979 176.747 115.252 175.597C113.934 174.718 113.958 174.957 113.863 161.36C113.809 153.467 113.704 148.819 113.563 148.028C113.311 146.618 113.522 145.674 114.187 145.236C114.683 144.908 120.502 143.34 122.365 143.031C123.095 142.911 124.673 142.569 125.872 142.272C129.415 141.396 130.298 141.335 131.5 141.885ZM87.5807 145.337C88.5712 145.442 93.2202 145.606 97.9118 145.7C102.881 145.801 106.656 145.955 106.953 146.07C108.095 146.51 108.068 146.231 108.056 157.282C108.05 163.239 108.134 168.465 108.262 170.043C108.753 176.122 108.09 176.434 94.6893 176.419C83.4194 176.407 83.1848 176.309 82.573 171.378C82.4166 170.119 82.1896 168.359 82.0683 167.466C81.701 164.765 81.7493 153.776 82.1432 150.482C82.781 145.151 83.0886 144.86 87.5807 145.337Z" />
++ <path fill="currentColor" fill-rule="evenodd" clip-rule="evenodd" d="M 66.233716,0.2375645 C 57.574455,0.6558119 46.898342,3.8444516 41.106336,7.7420504 30.67685,14.759616 24.907073,21.571535 22.264216,29.987273 c -1.283056,4.083749 -1.968668,5.102172 -4.663433,6.922814 -2.368662,1.600716 -3.072529,3.115621 -2.219766,4.776316 0.829168,1.613755 2.328674,2.027904 8.599777,2.373256 8.924143,0.491143 9.534997,1.021403 7.430473,6.445332 -1.111063,2.864398 -2.591197,7.638975 -4.100638,13.231668 -0.510266,1.889937 -1.461879,5.205864 -2.115701,7.368258 -4.929929,16.317236 -4.061892,26.679042 3.016026,35.998953 3.01317,3.9664 3.112019,4.86548 1.048226,9.53351 -2.401197,5.43051 -3.423345,9.23547 -3.87003,14.40147 -0.14132,1.62928 -0.513247,4.50783 -0.826933,6.39789 -1.776682,10.70455 -1.404754,24.74465 0.969868,36.5892 1.583702,7.9005 1.669015,8.4407 2.090988,13.295 0.215954,2.4762 0.639665,5.72979 0.942174,7.22868 0.30251,1.49888 0.624391,3.33803 0.716286,4.08685 L 29.447441,200 h 3.656933 3.656436 l -0.142437,-2.66621 c -0.07824,-1.46659 -0.403098,-3.99868 -0.722123,-5.62796 -0.31828,-1.62927 -0.700887,-4.13528 -0.849782,-5.56959 -0.148895,-1.43307 -0.421973,-3.40633 -0.607875,-4.38365 -0.612717,-3.22999 -0.39962,-4.45816 0.859221,-4.93875 1.006873,-0.38372 13.101897,-0.56503 49.36263,-0.73764 l 35.480486,-0.16889 3.76646,-0.74386 c 10.51703,-2.07633 14.02395,-2.45012 15.27199,-1.62803 2.21045,1.45666 2.00928,8.30037 -0.54764,18.50819 -0.49177,1.96457 -0.96615,4.26443 -1.05432,5.1126 -0.0869,0.84693 -0.21483,1.83294 -0.28313,2.19183 L 137.1701,200 h 3.54915 c 1.95339,0 3.55038,-0.0385 3.55038,-0.0869 0,-0.37255 1.28529,-6.25881 1.84411,-8.44443 1.71373,-6.7071 1.92484,-24.58072 0.38124,-32.34835 -3.73293,-18.78015 -6.03528,-27.7536 -8.50154,-33.13319 -1.97078,-4.29797 -1.90497,-4.73012 1.34614,-8.84678 5.6677,-7.18149 11.6918,-20.84407 13.68493,-31.043196 2.05771,-10.533178 0.70288,-18.63697 -5.04554,-30.158891 -4.86548,-9.754056 -5.95705,-9.035411 14.09598,-9.277691 15.45702,-0.186647 18.07976,-0.294437 19.98348,-0.824698 3.29829,-0.91771 3.95025,-4.533911 1.13503,-6.295939 -1.0866,-0.680149 -2.85496,-0.699025 -33.65724,-0.366091 -19.47185,0.210862 -19.37002,0.214464 -19.97976,-0.769063 -0.14405,-0.23334 -0.23843,-3.493012 -0.2434,-8.437595 -0.01,-8.987352 -0.23222,-10.774217 -1.74104,-14.02085 C 124.62517,9.6059088 115.55362,3.6015502 104.8441,0.9023146 101.77058,0.12791116 77.239906,-0.29443426 66.233716,0.2375645 Z m 39.900644,8.4891307 c 8.11658,2.8995418 13.72716,7.3090218 15.26702,11.9982858 0.95869,2.919039 1.71,16.2734 0.99222,17.623515 -0.67307,1.266043 -2.29614,1.437912 -8.13769,0.862573 -1.94222,-0.190745 -4.97228,-0.34945 -6.73443,-0.352431 -4.09555,-0.006 -8.489121,-0.360254 -12.215845,-0.984023 -3.75156,-0.627992 -5.421817,-0.608496 -11.063687,0.127908 -2.524634,0.329953 -6.708971,0.712188 -9.298305,0.849037 -2.589458,0.137346 -5.82032,0.354293 -7.179748,0.481581 C 60.89895,39.976035 46.11388,39.196912 38.338552,37.782098 36.59068,37.463942 34.366195,37.083074 33.395086,36.936166 29.14903,36.291533 28.352274,34.700877 29.945911,30.048868 32.387095,22.920035 41.896635,14.399983 51.285718,10.929448 59.48128,7.9002592 59.896175,7.8617625 83.653447,7.8972788 l 20.244383,0.030797 z M 85.7992,12.570523 c -1.671996,0.683129 -3.251476,1.817041 -5.912091,4.244317 -4.868211,4.441519 -5.263609,4.44512 -10.475433,0.101954 -5.615543,-4.680447 -9.128299,-2.849745 -10.802655,5.62883 -0.267117,1.350735 -0.703744,3.093143 -0.970364,3.872141 -2.521157,7.35882 3.406208,10.107232 6.731324,3.121705 1.643062,-3.451037 2.585857,-3.574227 5.786791,-0.756645 3.836377,3.377522 5.80666,3.077248 10.066375,-1.534402 3.822841,-4.137644 5.158799,-4.054069 5.922026,0.370313 0.947514,5.490739 3.753547,8.447033 6.335305,6.673331 1.779539,-1.222206 1.862741,-1.894035 1.290259,-10.38627 C 93.060412,13.377462 91.00022,10.446626 85.7992,12.570523 Z m 13.272897,33.14325 c 4.702793,0.599057 12.335063,0.941429 21.657453,0.971109 14.10716,0.04495 15.005,0.203163 16.31016,2.868 2.7432,5.60747 7.10574,14.911364 7.76142,16.555916 3.98254,9.98044 2.10738,22.182634 -5.87384,38.249392 -4.67796,9.41678 -10.48351,13.91592 -20.53113,15.90657 -2.94313,0.58241 -7.06103,1.50261 -11.78121,2.63019 -4.23588,1.01333 -17.31653,1.36725 -30.258977,0.81836 l -4.237238,-0.17882 -6.238071,-1.83542 c -13.694001,-4.02725 -21.600466,-8.40966 -29.499977,-16.34866 -8.279759,-8.32024 -9.17077,-17.006821 -3.551626,-34.618166 0.581424,-1.822381 1.376441,-4.595009 1.767244,-6.161449 2.316381,-9.29843 3.366842,-11.840574 5.975052,-14.460457 3.292084,-3.306365 3.656436,-3.372803 18.953387,-3.423718 11.159308,-0.03787 17.751672,-0.325234 21.303918,-0.929507 4.178376,-0.710946 4.076546,-0.704489 9.416527,-0.617934 3.150516,0.05154 6.350705,0.259418 8.826908,0.574594 z M 65.843534,63.62415 c -1.25586,0.686606 -2.18276,3.067064 -3.033163,7.792465 -1.305906,7.256866 -0.666737,10.567577 2.040943,10.567577 3.522815,0 5.580771,-5.312537 5.197667,-13.416701 -0.203038,-4.295232 -1.850198,-6.231364 -4.205447,-4.943341 z m 34.994436,0.549757 c -4.90397,3.022607 -8.38357,17.015516 -4.781029,19.225968 2.809013,1.723656 4.829459,-0.519084 6.538209,-7.257238 0.49052,-1.935636 1.1698,-4.464245 1.51006,-5.619516 1.39582,-4.750859 -0.35143,-8.146759 -3.26724,-6.349214 z M 60.077978,94.541549 c -3.439861,0.48928 -5.19419,2.585484 -3.944167,4.716459 1.064618,1.814312 2.511099,2.143392 9.511403,2.160782 11.70596,0.0298 18.108324,0.37751 21.89242,1.18718 8.975057,1.92111 15.819996,0.29556 14.588106,-3.463452 -0.68549,-2.091237 -2.171946,-2.642608 -7.919122,-2.944372 -2.583,-0.134117 -5.101178,-0.407319 -6.35592,-0.687972 -4.191291,-0.93758 -23.300031,-1.604441 -27.77272,-0.968625 z M 45.019333,121.21475 c 2.660615,1.37471 7.07618,3.40137 9.812671,4.50411 7.276362,2.93071 7.212159,2.85869 6.224037,7.01633 -0.922801,3.88567 -1.156389,8.97344 -0.92218,20.10518 0.377888,17.97545 1.884969,16.43806 -16.408139,16.73362 -13.324309,0.21608 -12.091423,0.94379 -12.487442,-7.37273 -0.526783,-11.0535 -0.04359,-22.45596 1.32118,-31.16241 2.036845,-12.99821 3.729953,-14.33441 12.459873,-9.8241 z m 83.640527,5.30882 c 2.46876,1.12758 4.99587,6.87227 6.88593,15.65323 0.15399,0.71653 0.69419,3.11574 1.19837,5.3324 4.24705,18.63362 4.2309,18.72427 -3.28339,19.09434 -3.0847,0.1515 -5.01947,0.37751 -6.91822,0.8047 -9.02064,2.03412 -15.91526,2.40791 -18.0599,0.9798 -1.63672,-1.09156 -1.60692,-0.79477 -1.72489,-17.67989 -0.0671,-9.80174 -0.19745,-15.57375 -0.37255,-16.55604 -0.31294,-1.75098 -0.0509,-2.92326 0.7749,-3.46718 0.61594,-0.40732 7.84214,-2.35451 10.15566,-2.73823 0.90654,-0.14902 2.86614,-0.57372 4.35509,-0.94255 4.39979,-1.08784 5.49633,-1.16359 6.989,-0.48058 z m -54.540169,4.28678 c 1.23003,0.1304 7.003284,0.33406 12.829441,0.45079 6.170887,0.12542 10.858785,0.31666 11.227608,0.45947 1.418166,0.54641 1.384637,0.19994 1.369735,13.92337 -0.0075,7.39756 0.09686,13.88735 0.255817,15.84696 0.609728,7.54906 -0.213595,7.93651 -16.854948,7.91789 -13.995269,-0.0149 -14.286601,-0.1366 -15.046351,-6.26005 -0.194222,-1.56347 -0.476117,-3.74908 -0.62675,-4.85803 -0.456123,-3.35418 -0.396143,-17.00062 0.09301,-21.0912 0.792037,-6.62018 1.174023,-6.98155 6.752435,-6.3892 z" style={{strokeWidth:1.24183}} />
</svg>
);
}
diff --git a/0003-Experiments-Re-add-staging-banner.patch b/0003-Experiments-Re-add-staging-banner.patch
index a6bfc15..3cd77a9 100644
--- a/0003-Experiments-Re-add-staging-banner.patch
+++ b/0003-Experiments-Re-add-staging-banner.patch
@@ -1,4 +1,4 @@
-From 0c5477d6f5444c20ff901683fccd78e26d7a1542 Mon Sep 17 00:00:00 2001
+From 0ea72960030d81dda7b2d8b90c52c3e47b4c561d Mon Sep 17 00:00:00 2001
From: 1024x2 <2pow11@gmail.com>
Date: Thu, 26 Oct 2023 00:48:25 +0100
Subject: [PATCH 3/5] Experiments: Re-add staging banner
diff --git a/0004-Updater-don-t-prompt-for-updates-when-on-a-local-bra.patch b/0004-Updater-don-t-prompt-for-updates-when-on-a-local-bra.patch
index 0910bec..aa35d25 100644
--- a/0004-Updater-don-t-prompt-for-updates-when-on-a-local-bra.patch
+++ b/0004-Updater-don-t-prompt-for-updates-when-on-a-local-bra.patch
@@ -1,6 +1,6 @@
-From 00aba2082b64d8f01ea796f1118030bd944ebcc6 Mon Sep 17 00:00:00 2001
+From ef30d1ed8a99d97556a31b5bb2e9d0f6019bb49a Mon Sep 17 00:00:00 2001
From: 1024x2 <2pow11@gmail.com>
-Date: Wed, 11 Oct 2023 15:55:03 +0100
+Date: Sat, 9 Mar 2024 08:00:55 +0000
Subject: [PATCH 4/5] Updater: don't prompt for updates when on a local branch
---
@@ -8,7 +8,7 @@ Subject: [PATCH 4/5] 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 20a5d70..21f33d1 100644
+index 20a5d70..c530e67 100644
--- a/src/main/updater/git.ts
+++ b/src/main/updater/git.ts
@@ -49,12 +49,7 @@ async function getRepo() {
@@ -21,7 +21,7 @@ index 20a5d70..21f33d1 100644
- if (!existsOnOrigin) return [];
-
- const res = await git("log", `HEAD...origin/${branch}`, "--pretty=format:%an/%h/%s");
-+ const res = await git("log", "HEAD...@{u}", "--pretty=format:%an/%h/%s");
++ const res = await git("log", "HEAD..@{u}", "--pretty=format:%an/%h/%s");
const commits = res.stdout.trim();
return commits ? commits.split("\n").map(line => {
diff --git a/0005-Enable-CSP-bypass-on-stock-discord-desktop-client.patch b/0005-Enable-CSP-bypass-on-stock-discord-desktop-client.patch
index 06ba633..3a75ff8 100644
--- a/0005-Enable-CSP-bypass-on-stock-discord-desktop-client.patch
+++ b/0005-Enable-CSP-bypass-on-stock-discord-desktop-client.patch
@@ -1,4 +1,4 @@
-From e59ce67472e747ae336eae0591ec3869f1d1002b Mon Sep 17 00:00:00 2001
+From 4eeba2e6c80371b433e9f0d741c21d6e79fd5fb8 Mon Sep 17 00:00:00 2001
From: 1024x2 <2pow11@gmail.com>
Date: Wed, 27 Dec 2023 15:05:44 +0000
Subject: [PATCH 5/5] Enable CSP bypass on stock discord desktop client