Commit graph

1133 commits

Author SHA1 Message Date
smartfrigde
46a72f99cd feat: return back to loadURL for discord window 2024-06-15 11:14:16 +02:00
smartfrigde
1191797ee4 chore: bump electron 2024-06-15 11:02:59 +02:00
smartfrigde
a347fd8fd0 fix: reload discord if it's unresponsive 2024-06-15 10:58:44 +02:00
smartfrigde
0329b2ee92 fix: use existing config folders
solves https://github.com/ArmCord/ArmCord/issues/617 after package name change
2024-06-15 10:46:51 +02:00
smartfrigde
35a321bd59 remove unused code 2024-06-15 10:34:35 +02:00
smartfrigde
3f7b154068 fix titlebar loading
solves https://github.com/ArmCord/ArmCord/issues/616
2024-06-15 10:33:07 +02:00
SelfMadeSystem
69c34435f2
Add transparency to linux (#618)
Co-authored-by: smartfridge <37928912+smartfrigde@users.noreply.github.com>
2024-06-15 10:22:03 +02:00
Ritiek Malhotra
d9d24d9473
Improve multi-instance behaviour (#604)
* Experiment with two windows

* Improve multi-instance behaviour

Previously, ArmCord would attempt to launch up a completely new
instance each time when multi-instances setting were enabled. This
doesn't work well as Electron doesn't support running multiple instances
of the same app pointing to the same user data directory
(which by default on GNU/Linux is `~/.config/ArmCord`). Doing so would
result in this error:
> Failed to open LevelDB database" "file currently in use"

It's possible to workaround this behaviour by passing in a parameter to
a different user data directory when launching subsequent instances of
armcord, like so:
```shell
$ armcord --user-data-directory=$HOME/.config/ArmCord-2
```

However, this method ends up taking disk storage in the multiples of the
number of armcord instances that are simultaneously running, which isn't
ideal.

Looking into this more, it looks like Electron can do multiple windows
fine with the same user data directory. I gave this a try and it seems
to be working nice. With this PR, running any subsequent instances of
armcord will open up a new window in the original armcord instance. This
should also help with better resource utilization when compared to
running multiple full blown instances of armcord.

* Fix lints
2024-06-15 10:20:44 +02:00
Aiden
10b7e638de
Updates and Linting (#578)
* Updates and Linting

* fix lint task

* [ImgBot] Optimize images

*Total -- 404.98kb -> 304.38kb (24.84%)

/assets/screenshot-1920x1080.png -- 205.00kb -> 123.21kb (39.9%)
/build/appx/Square150x150Logo.png -- 9.63kb -> 7.71kb (20%)
/assets/ac_icon.png -- 40.15kb -> 34.98kb (12.88%)
/assets/StoreLogo.png -- 40.15kb -> 34.98kb (12.88%)
/assets/Square150x150Logo.png -- 7.24kb -> 6.53kb (9.83%)
/assets/ac_icon_transparent.png -- 45.54kb -> 42.00kb (7.76%)
/assets/ac_plug_colored.png -- 17.98kb -> 16.72kb (7%)
/assets/ac_black_plug.png -- 8.49kb -> 8.06kb (5.06%)
/assets/ac_black_plug_hollow.png -- 10.30kb -> 9.95kb (3.4%)
/build/appx/Square44x44Logo.png -- 1.69kb -> 1.64kb (2.89%)
/assets/Square44x44Logo.png -- 1.90kb -> 1.85kb (2.83%)
/assets/Wide310x150Logo.png -- 4.21kb -> 4.17kb (0.97%)
/build/appx/Wide310x150Logo.png -- 4.21kb -> 4.17kb (0.97%)
/assets/ac_white_plug.png -- 8.49kb -> 8.42kb (0.83%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>

* Asyncification!!!
Check `REVIEW` comments

* More async for `src/discord`

* update packages to latest minor version

* Void some promises

* Add some types - 93 problems left!

* make DeepScan Happy

* DeepScan part 2

* I am the Constant

* preload must be `.mts`

* Migrate electron context menu official package

* fix bad preload on setup window

* fix minor import oversights

* fix modloader

* Stop main window from continuing during setup

* update packages, slow dependabot

* Remove paste override, it seems to work without now

* IPC typing

* Package updates & a few more typings

* fix linting errors in screenshare

* use pnpm in actions

* fix dev releaser?

* update node build, fix dev one more time

* release action is broke

* Fix Release

* update actions

* actions are so finicky

* remove delete-tag-and-release

* add github token env

* Hopefully this fixes the release workflow

* [debug]

* this should actually fix it

* Fix typo in dev action

* put everything in a dir and then get it

* use a different releaser

* correct release file location

* action places it in a folder named x.zip, recurse into that and grab the actual files

* Cleanup actions a bit

* release is dependent on mac build

* remove mac build

* split linux arm and x86

* rely on linux arm

* remove deprecated action

* attempt to fix weird recursive zip

* fix env

* use pnpm in actions

fix dev releaser?

update node build, fix dev one more time

release action is broke

Fix Release

update actions

actions are so finicky

remove delete-tag-and-release

add github token env

Hopefully this fixes the release workflow

[debug]

this should actually fix it

Fix typo in dev action

put everything in a dir and then get it

use a different releaser

correct release file location

action places it in a folder named x.zip, recurse into that and grab the actual files

Cleanup actions a bit

release is dependent on mac build

remove mac build

split linux arm and x86

rely on linux arm

remove deprecated action

attempt to fix weird recursive zip

fix env

* don't globally install pnpm packages (I don't think the cache checks global)

* Type the armcord window

* Finalize typings

* fix deepscan issues

* fix screenshare preload

* fix app quitting

---------

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
Co-authored-by: smartfrigde <37928912+smartfrigde@users.noreply.github.com>
2024-06-14 14:57:34 +02:00
Илья
77416701a4
Translated using Weblate (Russian)
Currently translated at 98.7% (81 of 82 strings)

Translation: ArmCord/ArmCord
Translate-URL: https://hosted.weblate.org/projects/armcord/armcord/ru/
2024-06-11 19:09:21 +02:00
Ritiek Malhotra
4559a39b0a
Remove redundant code for saveSettings ipc call (#601) 2024-06-03 20:37:40 +02:00
Aiden
36e5f95705
include file extensions on imports (#599)
* include file extensions on imports

* missed two
2024-06-01 11:56:19 +02:00
smartfrigde
871202aad1 fix: modloader downloading 2024-05-30 18:52:54 +02:00
Aiden
a49ae6b378
Fix #584 (#597) 2024-05-28 23:55:29 +02:00
MarcinU
615c97bccd
Translated using Weblate (Polish)
Currently translated at 98.7% (81 of 82 strings)

Translation: ArmCord/ArmCord
Translate-URL: https://hosted.weblate.org/projects/armcord/armcord/pl/
2024-05-28 20:09:17 +00:00
Aiden
79ab3cabb3
Fix build failure on PNPM version mismatch (#576) 2024-05-22 21:29:24 +02:00
georgemoodier
20a9e2708e
add homebrew repo to README (#575) [skip ci]
* added homebrew repo to README.md

* moved AUR example line above homebrew section
2024-05-21 22:14:30 +02:00
smartfridge
5e40c35796
Add dev codespace 2024-05-17 12:11:08 +02:00
smartfrigde
f51fbff540 fix: in-app settings injection 2024-05-15 21:06:41 +02:00
smartfrigde
7cd42a945c fix: titlebar css path 2024-05-15 20:52:32 +02:00
smartfrigde
aeafcffdd8 remove dev build CI fix 2024-05-15 20:36:23 +02:00
smartfrigde
3b1b426806 fix pnpm version mismatch 2024-05-15 20:34:57 +02:00
smartfrigde
b9bf19f059 simplify version api 2024-05-15 20:32:14 +02:00
smartfrigde
0487507bc4 feat: rewrite to esm 2024-05-15 20:14:18 +02:00
smartfrigde
419cb8eb4a feat: new folder structure 2024-05-15 18:14:49 +02:00
smartfrigde
8aca371346 tweak in-app settings css 2024-05-14 20:42:16 +02:00
smartfrigde
3866bb2eb8 bump electron 2024-05-14 20:12:35 +02:00
smartfrigde
4cededbcf6 bump electron 2024-05-14 20:05:11 +02:00
Lguakyz The Furry (LguakyzTheFurry)
8d1c674ba1
Translated using Weblate (French)
Currently translated at 96.3% (79 of 82 strings)

Translation: ArmCord/ArmCord
Translate-URL: https://hosted.weblate.org/projects/armcord/armcord/fr/
2024-05-14 06:07:20 +02:00
johron
6c77a7eff0
Translated using Weblate (Norwegian Bokmål)
Currently translated at 84.1% (69 of 82 strings)

Translation: ArmCord/ArmCord
Translate-URL: https://hosted.weblate.org/projects/armcord/armcord/nb_NO/
2024-05-08 18:07:49 +02:00
smartfrigde
565110ed58 ci: remove win7 dev builds 2024-04-30 11:29:43 +02:00
smartfrigde
afe0c6cc19 add win7 dev builds 2024-04-30 11:22:54 +02:00
Prefill add-on
f6adfbe0e0
Translated using Weblate (Arabic)
Currently translated at 96.3% (79 of 82 strings)

Translated using Weblate (Slovak)

Currently translated at 0.0% (0 of 82 strings)

Translated using Weblate (Portuguese (Portugal))

Currently translated at 96.3% (79 of 82 strings)

Translated using Weblate (German)

Currently translated at 96.3% (79 of 82 strings)

Translated using Weblate (Romanian)

Currently translated at 13.4% (11 of 82 strings)

Translated using Weblate (Finnish)

Currently translated at 37.8% (31 of 82 strings)

Translated using Weblate (Ukrainian)

Currently translated at 98.7% (81 of 82 strings)

Translated using Weblate (Lithuanian)

Currently translated at 17.0% (14 of 82 strings)

Translated using Weblate (Czech)

Currently translated at 80.4% (66 of 82 strings)

Translated using Weblate (Hungarian)

Currently translated at 96.3% (79 of 82 strings)

Translated using Weblate (Korean)

Currently translated at 98.7% (81 of 82 strings)

Translated using Weblate (Turkish)

Currently translated at 96.3% (79 of 82 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 98.7% (81 of 82 strings)

Translated using Weblate (Swedish)

Currently translated at 98.7% (81 of 82 strings)

Translated using Weblate (Japanese)

Currently translated at 96.3% (79 of 82 strings)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 97.5% (80 of 82 strings)

Translated using Weblate (Russian)

Currently translated at 98.7% (81 of 82 strings)

Translated using Weblate (Persian)

Currently translated at 79.2% (65 of 82 strings)

Translated using Weblate (Thai)

Currently translated at 28.0% (23 of 82 strings)

Translated using Weblate (Spanish (Latin America))

Currently translated at 90.2% (74 of 82 strings)

Translated using Weblate (Indonesian)

Currently translated at 96.3% (79 of 82 strings)

Translated using Weblate (Polish)

Currently translated at 96.3% (79 of 82 strings)

Translated using Weblate (Dutch)

Currently translated at 47.5% (39 of 82 strings)

Translated using Weblate (Norwegian Bokmål)

Currently translated at 41.4% (34 of 82 strings)

Translated using Weblate (Italian)

Currently translated at 98.7% (81 of 82 strings)

Translated using Weblate (French)

Currently translated at 89.0% (73 of 82 strings)

Co-authored-by: Prefill add-on <noreply-addon-prefill@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/armcord/armcord/ar/
Translate-URL: https://hosted.weblate.org/projects/armcord/armcord/cs/
Translate-URL: https://hosted.weblate.org/projects/armcord/armcord/de/
Translate-URL: https://hosted.weblate.org/projects/armcord/armcord/es_419/
Translate-URL: https://hosted.weblate.org/projects/armcord/armcord/fa/
Translate-URL: https://hosted.weblate.org/projects/armcord/armcord/fi/
Translate-URL: https://hosted.weblate.org/projects/armcord/armcord/fr/
Translate-URL: https://hosted.weblate.org/projects/armcord/armcord/hu/
Translate-URL: https://hosted.weblate.org/projects/armcord/armcord/id/
Translate-URL: https://hosted.weblate.org/projects/armcord/armcord/it/
Translate-URL: https://hosted.weblate.org/projects/armcord/armcord/ja/
Translate-URL: https://hosted.weblate.org/projects/armcord/armcord/ko/
Translate-URL: https://hosted.weblate.org/projects/armcord/armcord/lt/
Translate-URL: https://hosted.weblate.org/projects/armcord/armcord/nb_NO/
Translate-URL: https://hosted.weblate.org/projects/armcord/armcord/nl/
Translate-URL: https://hosted.weblate.org/projects/armcord/armcord/pl/
Translate-URL: https://hosted.weblate.org/projects/armcord/armcord/pt_BR/
Translate-URL: https://hosted.weblate.org/projects/armcord/armcord/pt_PT/
Translate-URL: https://hosted.weblate.org/projects/armcord/armcord/ro/
Translate-URL: https://hosted.weblate.org/projects/armcord/armcord/ru/
Translate-URL: https://hosted.weblate.org/projects/armcord/armcord/sk/
Translate-URL: https://hosted.weblate.org/projects/armcord/armcord/sv/
Translate-URL: https://hosted.weblate.org/projects/armcord/armcord/th/
Translate-URL: https://hosted.weblate.org/projects/armcord/armcord/tr/
Translate-URL: https://hosted.weblate.org/projects/armcord/armcord/uk/
Translate-URL: https://hosted.weblate.org/projects/armcord/armcord/zh_Hans/
Translation: ArmCord/ArmCord
2024-04-30 09:36:31 +02:00
smartfrigde
3a78532001 feat: add vaapi performance mode 2024-04-30 09:36:05 +02:00
smartfrigde
78ec14be6d remove executableArgs 2024-04-29 20:38:34 +02:00
smartfrigde
d56570ed6d fix: make executableArgs an array 2024-04-29 20:03:08 +02:00
smartfrigde
7c2e4fc99b feat: enable wayland by default 2024-04-29 19:59:28 +02:00
smartfrigde
291353c183 feat: enable wayland support on snaps 2024-04-29 19:33:53 +02:00
smartfrigde
fb50a89ce3 fix: enable pulseaudio sharing on non-wayland sessions 2024-04-29 19:14:29 +02:00
smartfrigde
362a116e6a update arRPC 2024-04-29 18:06:05 +02:00
smartfrigde
a532cb9a72 fix: window title fix 2024-04-29 17:03:27 +02:00
smartfrigde
052ef80e06 fix: ping counter in page title 2024-04-29 16:21:45 +02:00
smartfrigde
dbad3ecb0b feat: add restart keyboard shortcut 2024-04-29 11:26:56 +02:00
smartfrigde
6a2f05b0d1 feat: add audio share confirmation 2024-04-29 11:19:22 +02:00
smartfrigde
22412c3e46 bump pnpm [skip ci] 2024-04-29 10:54:10 +02:00
smartfrigde
904148597d ci: remove macOS dev builds 2024-04-28 16:58:48 +02:00
smartfrigde
58e1cdfca6 chore: remove unused imports 2024-04-28 16:52:52 +02:00
Hosted Weblate
8298869621
Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: ArmCord/ArmCord
Translate-URL: https://hosted.weblate.org/projects/armcord/armcord/
2024-04-28 16:49:07 +02:00
smartfrigde
4c1aeef220 fix; wayland audio share 2024-04-28 16:48:50 +02:00
smartfrigde
e1e472bde3 feat: linux pulseaudio screenshare 2024-04-28 12:56:51 +02:00