fix: resolves #19

This commit is contained in:
2025-09-18 04:15:12 +03:00
parent 78d1ddc2b0
commit 9b7686c29e
3 changed files with 7 additions and 6 deletions

View File

@@ -44,13 +44,13 @@ Logs are stored in `C:\windows\logs\bridge.log`.
- If you are running Steam, Lutris, etc in a Flatpak, you will need to allow the bridge to access the `/run/user/1000/discord-ipc-0` file.
- ##### By using [Flatseal](https://flathub.org/apps/details/com.github.tchx84.Flatseal)
- Add `xdg-run/discord-ipc-0` under `Filesystems` category
- Add `xdg-run/discord-ipc-0`, `xdg-run/.flatpak/dev.vencord.Vesktop:create` and `xdg-run/.flatpak/com.discordapp.Discord:create` under `Filesystems` category
- ![flatseal](docs/assets/flatseal_permission.png)
- ##### By using the terminal
- Per application
- `flatpak override --filesystem=xdg-run/discord-ipc-0 <flatpak app name>`
- `flatpak override --filesystem=xdg-run/discord-ipc-0 --filesystem=xdg-run/.flatpak/dev.vencord.Vesktop:create --filesystem=xdg-run/.flatpak/com.discordapp.Discord:create <flatpak app name>`
- Globally
- `flatpak override --user --filesystem=xdg-run/discord-ipc-0`
- `flatpak override --user --filesystem=xdg-run/discord-ipc-0 --filesystem=xdg-run/.flatpak/dev.vencord.Vesktop:create --filesystem=xdg-run/.flatpak/com.discordapp.Discord:create`
##### MacOS

View File

@@ -52,15 +52,15 @@ This method is recommended because it's easier to manage.
=== "Flatseal"
Add `xdg-run/discord-ipc-0` under `Filesystems` category
Add `xdg-run/discord-ipc-0`, `xdg-run/.flatpak/dev.vencord.Vesktop:create` and `xdg-run/.flatpak/com.discordapp.Discord:create` under `Filesystems` category
![flatseal](assets/flatseal_permission.png)
=== "Terminal"
- Per application
- `flatpak override --filesystem=xdg-run/discord-ipc-0 <flatpak app name>`
- `flatpak override --filesystem=xdg-run/discord-ipc-0 --filesystem=xdg-run/.flatpak/dev.vencord.Vesktop:create --filesystem=xdg-run/.flatpak/com.discordapp.Discord:create <flatpak app name>`
- Globally
- `flatpak override --user --filesystem=xdg-run/discord-ipc-0`
- `flatpak override --user --filesystem=xdg-run/discord-ipc-0 --filesystem=xdg-run/.flatpak/dev.vencord.Vesktop:create --filesystem=xdg-run/.flatpak/com.discordapp.Discord:create`
## Run without installing the service

View File

@@ -294,6 +294,7 @@ void ConnectToSocket(int fd)
"%s/discord-ipc-%d",
"%s/app/com.discordapp.Discord/discord-ipc-%d",
"%s/.flatpak/dev.vencord.Vesktop/xdg-run/discord-ipc-%d",
"%s/.flatpak/com.discordapp.Discord/xdg-run/discord-ipc-%d",
"%s/snap.discord/discord-ipc-%d",
"%s/snap.discord-canary/discord-ipc-%d",
};