mirror of
https://github.com/EnderIce2/rpc-bridge.git
synced 2025-09-18 16:33:20 +00:00
Compare commits
5 Commits
nightly
...
340243a1c9
Author | SHA1 | Date | |
---|---|---|---|
340243a1c9
|
|||
9b7686c29e
|
|||
78d1ddc2b0
|
|||
12cee9b7c0
|
|||
334ddc73c1
|
21
.github/workflows/build.yml
vendored
21
.github/workflows/build.yml
vendored
@@ -7,12 +7,14 @@ on:
|
|||||||
- '.github/**'
|
- '.github/**'
|
||||||
- '.vscode/**'
|
- '.vscode/**'
|
||||||
- 'docs/**'
|
- 'docs/**'
|
||||||
|
- mkdocs.yml
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ "master" ]
|
branches: [ "master" ]
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- '.github/**'
|
- '.github/**'
|
||||||
- '.vscode/**'
|
- '.vscode/**'
|
||||||
- 'docs/**'
|
- 'docs/**'
|
||||||
|
- mkdocs.yml
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
@@ -31,3 +33,22 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: bridge
|
name: bridge
|
||||||
path: build
|
path: build
|
||||||
|
|
||||||
|
nightly:
|
||||||
|
name: Upload Nightly Build to GitHub Releases
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
needs: [build]
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
submodules: recursive
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- name: Download All Builds
|
||||||
|
uses: actions/download-artifact@v4
|
||||||
|
|
||||||
|
- name: Update Nightly
|
||||||
|
run: gh release upload nightly bridge/* -R ${{github.repository}} --clobber
|
||||||
|
|
||||||
|
env:
|
||||||
|
GH_TOKEN: ${{ github.token }}
|
||||||
|
3
.github/workflows/docs.yml
vendored
3
.github/workflows/docs.yml
vendored
@@ -5,10 +5,12 @@ on:
|
|||||||
branches: [ master ]
|
branches: [ master ]
|
||||||
paths:
|
paths:
|
||||||
- docs/**
|
- docs/**
|
||||||
|
- mkdocs.yml
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ "master" ]
|
branches: [ "master" ]
|
||||||
paths:
|
paths:
|
||||||
- docs/**
|
- docs/**
|
||||||
|
- mkdocs.yml
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
@@ -35,4 +37,3 @@ jobs:
|
|||||||
- run: pip install mkdocs-material
|
- run: pip install mkdocs-material
|
||||||
- run: pip install mkdocs-video
|
- run: pip install mkdocs-video
|
||||||
- run: mkdocs gh-deploy --force
|
- run: mkdocs gh-deploy --force
|
||||||
working-directory: ./docs
|
|
||||||
|
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).
|
||||||
|
@@ -9,7 +9,7 @@ Simple bridge that allows you to use Discord Rich Presence with Wine games/softw
|
|||||||
|
|
||||||
[Download latest release](https://github.com/EnderIce2/rpc-bridge/releases/latest/download/bridge.zip "Recommended"){ .md-button .md-button--primary }
|
[Download latest release](https://github.com/EnderIce2/rpc-bridge/releases/latest/download/bridge.zip "Recommended"){ .md-button .md-button--primary }
|
||||||
[Download latest pre-release](https://github.com/EnderIce2/rpc-bridge/releases "Unstable builds with experimental features"){ .md-button }
|
[Download latest pre-release](https://github.com/EnderIce2/rpc-bridge/releases "Unstable builds with experimental features"){ .md-button }
|
||||||
[Download latest build](https://github.com/EnderIce2/rpc-bridge/actions/workflows/build.yml "Builds from the latest commits, here be dragons!"){ .md-button }
|
[Download latest build](https://github.com/EnderIce2/rpc-bridge/releases/tag/nightly "Builds from the latest commits, here be dragons!"){ .md-button }
|
||||||
|
|
||||||
Works by running a small program in the background that creates a [named pipe](https://learn.microsoft.com/en-us/windows/win32/ipc/named-pipes) `\\.\pipe\discord-ipc-0` inside the prefix and forwards all data to the pipe `/run/user/1000/discord-ipc-0`.
|
Works by running a small program in the background that creates a [named pipe](https://learn.microsoft.com/en-us/windows/win32/ipc/named-pipes) `\\.\pipe\discord-ipc-0` inside the prefix and forwards all data to the pipe `/run/user/1000/discord-ipc-0`.
|
||||||
|
|
||||||
|
@@ -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