Commit graph

714 commits

Author SHA1 Message Date
hoshidesu
43ad9637ba
feat(screenshare): implement macOS native system audio loopback capture (#1092) 2026-06-03 18:43:24 +02:00
Dmitry Maryasov
d68a322cc4
fix: Windows mic drop in getUserMedia patch (#1088) 2026-05-16 15:02:35 +02:00
smartfrigde
527e0b4298 fix: opening settings menu/tray action 2026-05-14 18:47:15 +02:00
smartfrigde
09432f60bc fix: first-time launch blank settings 2026-05-13 19:26:46 +02:00
smartfrigde
dcfc37c97a fix: enable cors for legcord protocol
fixes recent crashes
2026-05-13 16:49:22 +02:00
youtsuho
12843004f4
fix: injection-typeerror (#1085)
Problem
  A TypeError: Cannot read properties of undefined (reading 'enabled') was occurring during the mod injection process. This was primarily caused by the
  getCustomBundle IPC handler returning undefined when the "custom" mod was disabled in the settings. Consequently, the preload script's promise resolution
  attempted to access the .enabled property on a nullish value, crashing the injection pipeline.

  Solution
   - IPC Handler Fix: Updated src/discord/ipc.ts to ensure that getCustomBundle always returns a ModBundle object (including the enabled boolean), even if the
     mod is disabled. This brings it into alignment with the behavior of other mod handlers like Vencord and Equicord.
   - Defensive Hardening: Updated all mod injection scripts (src/discord/preload/mods/ for custom, equicord, shelter, and vencord) to use optional chaining
     (bundle?.enabled). This provides a secondary layer of defense to prevent crashes if IPC responses are ever malformed or missing.

  Risk
  Very low. The changes are focused on improving the robustness of the injection pipeline and ensuring type consistency in IPC communication. No configuration
  schemas or public APIs were changed.

  Validation
   - Linting: pnpm lint was run. While the project has pre-existing lint issues in unrelated files, the modified files are correct and follow the project's
     formatting.
   - Build: Verified that the project compiles and that the ModBundle type interface is strictly respected.
   - Manual Verification: Confirmed that disabling the custom mod no longer triggers a TypeError in the injection script.
   - Platform Coverage: Verified on Windows. Since these changes affect shared Electron IPC and preload logic, they are cross-platform by nature.
2026-05-13 16:18:48 +02:00
youtsuho
e55cd408f7
feat: Add icons to Legcord settings sidebar (#1079) 2026-04-26 11:07:08 +02:00
smartfrigde
92a3006725 feat: native plugin system
wip
2026-04-25 20:07:49 +02:00
youtsuho
a07d481d49
feat: redesign screenshare picker UI to match Discord design system (#1076) 2026-04-24 19:33:37 +02:00
youtsuho
88dd287d7e
fix: prevent JS injection via navigateTo deep links (#1074) 2026-04-24 19:33:19 +02:00
Patrick
c63220d6d5 fix: first time setup 2026-04-15 20:34:19 +02:00
smartfrigde
0cbcad20df feat: new csp options 2026-04-15 18:21:19 +02:00
Xql.dev
f580f36491
feat: stricter csp, better permission handling, mod validation (#1069) 2026-04-15 17:41:24 +02:00
smartfrigde
6ecfc796f1 chore: linting 2026-04-11 19:58:44 +02:00
smartfrigde
f99592f3a8 feat: shelter plugin restore 2026-04-11 19:58:31 +02:00
smartfrigde
54780254d7 chore: update arRPC 2026-04-11 14:07:00 +02:00
smartfrigde
35e72ed57f fix: supportbanner X icon 2026-04-11 12:26:01 +02:00
youtsuho
b1f5a524d5
fix: restore zip path traversal (#1061) 2026-04-11 12:00:29 +02:00
Xql.dev
3c542deeeb
chore: cleanup fix-me's 2026-04-11 11:59:53 +02:00
MahmodZE
c4920f0527
fix: dropdown max height calculation (#1059) 2026-04-04 11:50:23 +02:00
MahmodZE
66ef6fdfc8
feat: restyle the support banner (#1058) 2026-04-04 11:49:54 +02:00
youtsuho
807dd63bec
fix: dropdown height limit in Games settings (#1045) 2026-04-03 18:38:31 +02:00
Xql.dev
127f9d89a8
feat: Fix settings shortcut (#1046)
* feat: complete French translation and fix settings shortcut
2026-04-03 18:31:23 +02:00
Nathanael Tehilla Gunawan
a9496b0794
fix: camera/mic device switching not working (#1051) 2026-04-03 18:31:09 +02:00
V. E.
d98c4fd3c0
feat: add window material setting (#1025) 2026-04-03 18:30:34 +02:00
smartfrigde
779f374543 feat: restyle support/about banner 2026-03-26 20:16:14 +01:00
youtsuho
dd661120e1
feat: support banner about popup (#1044) 2026-03-26 19:44:09 +01:00
youtsuho
d1cfd22211
chore: polish keybinds UI (#1038)
Co-authored-by: 3t6 <110821381+3T6-dsc@users.noreply.github.com>
2026-03-26 17:51:35 +01:00
smartfrigde
4825510f4c feat: noBundleUpdates allow to select mods 2026-03-26 17:42:52 +01:00
smartfrigde
a64d87b4ef feat: backup and restore option 2026-03-26 16:58:20 +01:00
Nathan
4bb4ffbc10
fix: security prompt appearing with no passkey (#1033) 2026-03-22 13:08:21 +01:00
KarboX
fc770f4af0
feat: automatic linux updates (#1027) 2026-03-22 13:07:59 +01:00
Adri
5aa1721a1a
fix: rpc not disappearing (#1032) 2026-03-22 13:06:45 +01:00
psw01
e143af8479
fix: play sound effect on mute toggle (#1031) 2026-03-15 20:18:03 +01:00
smartfrigde
8fbf05a8f1 fix: rpc not disappearing 2026-03-08 22:01:32 +01:00
smartfrigde
8ea47eafa0 feat: vaapi toogle 2026-03-08 21:15:48 +01:00
Renan Giuliasse
29a70b1a1f
fix: screensharing quality, fps and audio (#1026) 2026-03-02 20:49:48 +01:00
Patrick
0b0f60c579 feat: filter out blacklisted games from detected games view 2026-02-21 21:28:31 +01:00
smartfrigde
69326f0b90 feat: handle blacklists in a seperate file 2026-02-21 20:50:52 +01:00
smartfrigde
0a8db860c8 fix: blacklisting 2026-02-21 20:22:27 +01:00
smartfrigde
c99a8a59bb feat: save blacklisted app name too 2026-02-21 20:04:47 +01:00
Patrick
38f9ebcba4 fix: blacklisting games logging 2026-02-21 19:56:12 +01:00
smartfrigde
7a7b757aa1 feat: blacklist games by id's, not names 2026-02-21 19:36:25 +01:00
smartfrigde
5e586f973c store last games in a global 2026-02-21 19:26:32 +01:00
Patrick
6d158caf60 fix: rpc process communication 2026-02-21 19:18:16 +01:00
smartfrigde
9e82bea364 wip: game blacklisting 2026-02-21 19:13:45 +01:00
smartfrigde
c475abf393 feat: games blacklisting 2026-02-21 18:57:27 +01:00
smartfrigde
b93db09ace fix: disable push to talk for now 2026-02-21 18:10:14 +01:00
smartfrigde
8e9e045154 feat: add push to talk 2026-02-21 16:50:30 +01:00
smartfrigde
0a37d3fcc3 fix: lune dev exceptions 2026-02-21 16:16:49 +01:00