Commit graph

246 commits

Author SHA1 Message Date
smartfrigde
bed9e02059 Add Windows audio screensharing 2023-06-18 20:30:22 +02:00
smartfrigde
93e969a1ad Fix macOS titlebar 2023-06-18 19:47:54 +02:00
smartfrigde
5aefe765ec Add potential workarounds for renderer crash 2023-06-17 18:33:26 +02:00
smartfrigde
89e4c3570d Rewrite splash 2023-06-11 18:50:07 +02:00
smartfrigde
0e21a82b6c Remove basic mode 2023-06-11 17:18:41 +02:00
smartfrigde
359f2174b7 Simplify tray's code 2023-06-11 17:18:00 +02:00
smartfrigde
dcc28fe381 Make notice show up on Linux 2023-06-10 23:05:39 +02:00
smartfrigde
35b6ee7a5f Update Electron 2023-06-10 23:04:27 +02:00
smartfrigde
37c1951a33 Make notice trigger on Linux 2023-06-10 22:57:07 +02:00
smartfrigde
fdd9855065 Rework setup and tray 2023-06-10 22:54:46 +02:00
smartfrigde
4937a2cddf Fix tray icon behaviour 2023-06-10 20:06:00 +02:00
smartfrigde
6d491437e4 Fix dynamic icon 2023-06-10 19:49:32 +02:00
smartfrigde
1e19b808f9 Don't grab media key controls 2023-06-10 19:43:59 +02:00
Davilarek
52e5522f11
Make the title more like in the official client (#404) 2023-06-10 19:31:14 +02:00
KayoticCarnige
353925e564
Updated some CSS ids (#398)
* Update preload.ts

* Update discord.css
2023-05-16 22:22:32 +02:00
smartfrigde
b06d4a4810 Make theme quick acions functional 2023-05-15 17:10:25 +02:00
smartfrigde
610931d75b Add force quit and AC theme manifest additions 2023-05-14 22:06:26 +02:00
smartfrigde
11686f1244 Fix adv settings css 2023-05-14 14:02:40 +02:00
smartfrigde
ab60e43bf1 lint 2023-05-14 13:51:11 +02:00
smartfrigde
4f31bcb32e Add theme info modal 2023-05-14 13:42:38 +02:00
smartfrigde
f4b394ecd4 Add spellcheck option 2023-05-13 23:48:11 +02:00
smartfrigde
a90b348443 Fix start minimized 2023-05-13 23:31:31 +02:00
smartfrigde
b1cb66e587 Fix theme settings corrupting 2023-05-13 23:11:09 +02:00
smartfrigde
51018b108a Update to new desktop icon 2023-05-13 22:53:48 +02:00
smartfrigde
017ee7b430 Change default window size to fit QR login 2023-05-13 22:42:35 +02:00
smartfrigde
a07546f28e Add theme manager 2023-05-13 22:09:36 +02:00
Alyxia Sother
a2a997df30
[*] ESLint: The Lintening (#393)
* [*] ESLint: The Lintening

* Missed a couple unused vals in utils

* [*] Tend to DeepScan remarks

* [*] sigh, remove some duplicate crap
2023-05-08 21:24:30 +02:00
smartfrigde
08c4cb0a63 Add a way to set config in cli 2023-04-25 10:57:49 +02:00
BMT
66821e2dce
Allow Canary and PTB to use window popout (#372)
* Update window.ts

allow popout window for canary and ptb as they are selectable via armcord settings

* Update window.ts

fixed because i forget
2023-04-06 21:41:33 +02:00
Oro
b42e4d91ea
Comment out any Linux and Wayland checks (#356)
* Redo the Wayland checks for Linux

* Update the Wayland window decorations comments

* Nit: don't nest if checks, update some comments

* Nit: stricter env var checks

* toLowerCase() on Wayland/Linux string checks

* Use toLowerCase() properly

Co-authored-by: Ven <vendicated@riseup.net>

* Don't use toLowerCase() on XDG_SESSION_TYPE

* Null safety for XDG_SESSION_TYPE and toLowerCase

* Change how appendSwitch is used

* Forgot the quotes

* When the platform is Linux, it will always be lowercase

Co-authored-by: unlwly <x57luw@gmail.com>

* Comment out any Linux and Wayland checks

They were nonfunctioning anyways.

---------

Co-authored-by: Ven <vendicated@riseup.net>
Co-authored-by: unlwly <x57luw@gmail.com>
2023-03-09 16:50:17 +01:00
smartfridge
cc9bd3d8e7 Fix arRPC 2023-02-26 12:37:26 +01:00
smartfridge
f936382830 Fix arRPC 2023-02-25 21:37:45 +01:00
smartfridge
74598f2ed8 Update arRPC and add MS Store assets 2023-02-25 19:08:21 +01:00
smartfridge
f8d7ca68fa
Revert "Redo the Wayland checks for Linux (#327)" (#338)
This reverts commit a66f477af6.
2023-01-24 19:54:18 +01:00
Oro
a66f477af6
Redo the Wayland checks for Linux (#327)
* Redo the Wayland checks for Linux

* Update the Wayland window decorations comments

* Nit: don't nest if checks, update some comments

* Nit: stricter env var checks

* toLowerCase() on Wayland/Linux string checks

* Use toLowerCase() properly

Co-authored-by: Ven <vendicated@riseup.net>

* Don't use toLowerCase() on XDG_SESSION_TYPE

* Null safety for XDG_SESSION_TYPE and toLowerCase

Co-authored-by: Ven <vendicated@riseup.net>
2023-01-24 10:29:57 +01:00
smartfrigde
70ba007e46 Use unified-acrylic 2023-01-11 20:00:28 +01:00
Ven
fe78be06d2
Fix settings injection on canary (#326)
* Fix settings injection on canary

* Put sideeffects up again
2023-01-07 08:49:04 +01:00
smartfrigde
34daa1888c temp fix: settings load english specific css 2022-12-31 16:27:42 +01:00
smartfridge
6355082718 USE_WAYLAND env value handler 2022-12-27 16:12:34 +01:00
smartfridge
7463856b63 Add dynamic icon option 2022-12-27 11:34:26 +01:00
Ven
7822317d3a
rewrite science block, also block cloudflare nel & sentry (#317)
* rewrite science block, also block cloudflare nel

* Kill unused import
2022-12-26 23:29:29 +01:00
smartfridge
55fd573599 Add apt repo to readme 2022-12-26 18:28:15 +01:00
smartfridge
09fcd77803 Add a way to enable legacy capturer 2022-12-25 21:43:35 +01:00
smartfridge
2dec7c21dc Update mod loader install logic 2022-12-25 21:06:07 +01:00
smartfridge
f9dbd884b3 Add css bundle download for mods 2022-12-25 20:47:25 +01:00
smartfridge
334d28542f Tweak screensharing 2022-12-25 19:27:21 +01:00
smartfridge
8e16371521 Make ArmCord not cpu bomb on splash 2022-12-25 19:27:21 +01:00
smartfridge
9b6175ca6d Rewrite capturer 2022-12-25 13:33:22 +01:00
smartfridge
e0313c01dd Remove Hummus support 2022-12-24 20:24:27 +01:00
smartfridge
3339a4ca1b Remove download apps notice 2022-12-24 19:54:05 +01:00
smartfridge
9ead560115 remove unwanted css 2022-12-24 19:51:11 +01:00
smartfridge
8cdfac0367 Fix first-time setup 2022-12-24 19:46:58 +01:00
smartfridge
1e6e6900d4 Update dev build check 2022-12-24 19:41:01 +01:00
smartfridge
3bc47753e6
Disable download apps button 2022-12-18 20:23:50 +01:00
Christopher Snowhill
969d1c3662
Fix environment access for Linux Wayland patches (#304) 2022-12-17 10:06:40 +01:00
TymanWasTaken
fd5f7f78cf
Fix url logic (#300) 2022-12-14 05:36:09 +00:00
smartfridge
f9fd95ac6f Make Windows tray icon look better 2022-12-13 20:30:00 +01:00
smartfridge
147f361341 Fix Windows tray ico scaling 2022-12-13 20:23:17 +01:00
smartfridge
6966219255 Add Windows icon scaling 2022-12-13 20:21:27 +01:00
Octopus Hugger
63db76cd7e
Avoid window creation/init if 2nd instance (#297)
* fix first instance not showing when opening 2nd

* Avoid window creation/init if 2nd instance

* fix white flash on startup, add en-us transparent entry for future use

* fix white flash for settings window too

Co-authored-by: octopushugger <octopushugger@github.com>
2022-12-13 19:45:21 +01:00
Ven
18ba2ec477
Fix github raw css links, make jsons human readable (#299) 2022-12-13 19:02:28 +01:00
smartfridge
1f369dae11 Add disable autogain 2022-12-13 15:11:44 +01:00
smartfridge
c8c4e1a877 Add local crash reporter 2022-12-13 14:10:41 +01:00
smartfridge
f8c785e9b3 Add start minimized option 2022-12-13 13:13:25 +01:00
smartfridge
931e5df2f0 Allow stream popouts 2022-12-13 11:03:21 +01:00
smartfridge
6c8eb71d46 Enable titlebar fix 2022-12-13 11:03:21 +01:00
Octopus Hugger
5bcbbacee1
fix first instance not showing when opening 2nd (#296)
Co-authored-by: octopushugger <octopushugger@github.com>
2022-12-12 15:54:56 +01:00
Cain Atkinson
5610f372bf
Fully remove CSP as opposed to setting custom policies (#293)
* Just remove CSP instead of trying to work with it

* Simplify CSP removal further
2022-12-11 18:59:33 +01:00
smartfridge
ea20492372 Fix skip splash 2022-12-10 20:33:35 +01:00
smartfridge
d8af912faf Remove useless log in RPC 2022-12-10 19:22:05 +01:00
smartfridge
254ba93433
Update Window state manager (#291)
* Update Window state

* Add x/y state saving
2022-12-10 19:01:47 +01:00
aeongdesu
e2fc0c6401
Update arrpc to 3.0.0 (#284) 2022-12-10 09:40:14 +00:00
KayoticCarnige
af1f2f2e1c
Update discord.css (#285) 2022-12-10 09:39:35 +00:00
Remty5
378fef1a0e
Add portable mode (#280) 2022-12-03 16:21:25 +00:00
Justice Almanzar
70e5b7673d
feat(csp): allow blob and data uri workers (#271)
* allow unsafe worker-src

* modify child-src instead

* safer csp handling
2022-11-28 10:24:10 +00:00
Ven
d92da1c3d0
settings cleanup (#266)
* settings cleanup

* translate more texts

* Move all strings

* Fix broken switches
2022-11-25 12:12:14 +01:00
smartfridge
e6df2b0ecf Make invite socket use arrpc 2022-11-22 15:34:24 +01:00
smartfridge
d7a318d5c3 Update arrpc to 2.2.0 2022-11-22 15:03:54 +01:00
smartfridge
afa83c782d Add mod bundle update skip 2022-11-21 16:25:11 +01:00
Ven
a4968e7529
Make clicking notifications focus ArmCord (#262) 2022-11-21 06:50:45 +01:00
Ven
ed775cbf31
Fix npm format script (#261) 2022-11-21 06:50:21 +01:00
Ven
c5ce910940
Fix csp (Vencord QuickCss & dynamic imports) (#260) 2022-11-21 06:50:09 +01:00
Ven
fbeffdb166
Add missing BrowserWindow import; bump deps (#258) 2022-11-20 20:46:37 +01:00
smartfridge
17c05fedd3
Fix dev tools 2022-11-20 19:25:34 +01:00
smartfridge
ddac01ee8f Update arRPC 2022-11-20 13:48:07 +01:00
smartfridge
598ac2eb2f
Delete .npmrc 2022-11-20 00:41:44 +01:00
CanadaHonk
235015bd24
Rename Invite Websocket setting to Rich Presence (#257) 2022-11-19 23:53:11 +01:00
smartfridge
a0e0f6a516 Add experimental arrpc 2022-11-19 23:15:05 +01:00
smartfridge
dac886ecbd Windows on ARM CI 2022-11-19 20:00:56 +01:00
smartfridge
e5ab7a7232 Update transparency stuff 2022-11-19 19:32:46 +01:00
Ven
a3eea0b6ca
Fix about:blank popups (Vencord QuickCss) (#256) 2022-11-19 19:04:14 +01:00
smartfridge
5d80d44fc8 Re-add client mods (vencord, shelter) 2022-11-19 18:23:28 +01:00
Ven
842b6e8c5d
Keybinds fixes (Zoom & DevTools now consistent with chrome/discord desktop) (#254) 2022-11-17 21:23:55 +01:00
kz-n
3696ebdba9
Add dynamic vibe import only on windows (#227) 2022-10-12 21:35:32 +02:00
smartfridge
f523f92367 Add transparency option 2022-10-08 17:43:08 +02:00
smartfrigde
7b25fc70c9 Move away from using webpack for gettign lang 2022-09-27 13:04:18 +00:00
smartfrigde
4613f77f30 Remove EOL mods 2022-09-27 11:11:56 +00:00
smartfridge
7e9e43fa6a
Add single-instance 2022-09-25 20:31:29 +02:00
KayoticCarnige
f57fe11769
A few things (#199)
* 2 new things (Read desc.)

- Cleaned up ASAR packaging, ignoring unneeded files for building
- Moved install location for Windows users ("AppData\Local\Programs" -> "AppData\Local"

* 3 things (Read desc.)

- Updated things related to Hummus (Hummus settings don't save nor load in it's respective settings window yet, idk why)
- Added check for package version (ArmCord's internal version)
- Made check for Kernel mod a bit cleaner, it still uses the same jank method

* 3 things

- Made macOS titlebar more accurate to Discord
- Added "unFocused" class when window isn't focused
- Added option to uninstall Husky hook for Windows users with reminder to run format script before committing

* Resolved a dumb issue

My dumbass not knowing the "echo" command existed smh

* Made "precommit-fix" warning more noticable

* Whoops

* Fixed a CSS bug

Discord updates are gonna hate us, huh?

* 4 things (Formatted)

- Updated coding for getting the current version
- Updated some context menu and tray stuff
- Added current version to the title of the settings window
- Added the ability to restart the app within the settings

* A few things

- Updated tray menu to include the tray icon infront of the ArmCord version
- Updated MacOS titlebar to not be broken in setup
- Polished settings menu a bit
- Polished the Discord tray icon
- Added the Classic Discord icon as tray icon option
2022-09-25 20:30:09 +02:00
smartfridge
8454a6d579 Add DuckDuckGo search 2022-08-25 18:40:43 +02:00