mirror of
https://github.com/EnderIce2/rpc-bridge.git
synced 2025-09-18 16:33:20 +00:00
Compare commits
3 Commits
12cee9b7c0
...
340243a1c9
Author | SHA1 | Date | |
---|---|---|---|
340243a1c9
|
|||
9b7686c29e
|
|||
78d1ddc2b0
|
10
README.md
10
README.md
@@ -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
|
||||||
|
|
||||||
@@ -72,6 +72,10 @@ More details on how to install the LaunchAgent can be found in the [documentatio
|
|||||||
- Open a terminal in the directory that contains this file and run `make`.
|
- Open a terminal in the directory that contains this file and run `make`.
|
||||||
- The compiled executable will be located in `build/bridge.exe`.
|
- The compiled executable will be located in `build/bridge.exe`.
|
||||||
|
|
||||||
|
## Star History
|
||||||
|
|
||||||
|
[](https://www.star-history.com/#enderice2/rpc-bridge&Date)
|
||||||
|
|
||||||
## Credits
|
## Credits
|
||||||
|
|
||||||
This project is inspired by [wine-discord-ipc-bridge](https://github.com/0e4ef622/wine-discord-ipc-bridge).
|
This project is inspired by [wine-discord-ipc-bridge](https://github.com/0e4ef622/wine-discord-ipc-bridge).
|
||||||
|
@@ -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",
|
||||||
};
|
};
|
||||||
|
@@ -5,5 +5,5 @@
|
|||||||
#define IDM_HELP_ABOUT 40003
|
#define IDM_HELP_ABOUT 40003
|
||||||
#define IDM_VIEW_LOG 40004
|
#define IDM_VIEW_LOG 40004
|
||||||
|
|
||||||
#define VER_VERSION 1, 4, 0, 0
|
#define VER_VERSION 1, 4, 0, 1
|
||||||
#define VER_VERSION_STR "1.4.0.0\0"
|
#define VER_VERSION_STR "1.4.0.1\0"
|
||||||
|
Reference in New Issue
Block a user