mirror of
https://github.com/EnderIce2/rpc-bridge.git
synced 2025-09-18 16:33:20 +00:00
fix: resolves #19
This commit is contained in:
@@ -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.
|
- 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)
|
- ##### 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
|
||||||
- 
|
- 
|
||||||
- ##### By using the terminal
|
- ##### By using the terminal
|
||||||
- Per application
|
- 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
|
- 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
|
##### MacOS
|
||||||
|
|
||||||
|
@@ -52,15 +52,15 @@ This method is recommended because it's easier to manage.
|
|||||||
|
|
||||||
=== "Flatseal"
|
=== "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
|
||||||

|

|
||||||
|
|
||||||
=== "Terminal"
|
=== "Terminal"
|
||||||
|
|
||||||
- Per application
|
- 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
|
- 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
|
## Run without installing the service
|
||||||
|
|
||||||
|
@@ -294,6 +294,7 @@ void ConnectToSocket(int fd)
|
|||||||
"%s/discord-ipc-%d",
|
"%s/discord-ipc-%d",
|
||||||
"%s/app/com.discordapp.Discord/discord-ipc-%d",
|
"%s/app/com.discordapp.Discord/discord-ipc-%d",
|
||||||
"%s/.flatpak/dev.vencord.Vesktop/xdg-run/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/discord-ipc-%d",
|
||||||
"%s/snap.discord-canary/discord-ipc-%d",
|
"%s/snap.discord-canary/discord-ipc-%d",
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user