5 Commits

Author SHA1 Message Date
340243a1c9 chore: bump version
Some checks failed
Build Project / build (push) Has been cancelled
Deploy Documentation / deploy (push) Has been cancelled
Build Project / Upload Nightly Build to GitHub Releases (push) Has been cancelled
2025-09-18 04:21:18 +03:00
9b7686c29e fix: resolves #19 2025-09-18 04:15:12 +03:00
78d1ddc2b0 feat: add star history section to README 2025-07-13 00:46:51 +03:00
12cee9b7c0 feat: add nightly build upload to GitHub Releases
Some checks failed
Build Project / build (push) Has been cancelled
Deploy Documentation / deploy (push) Has been cancelled
Build Project / Upload Nightly Build to GitHub Releases (push) Has been cancelled
2025-07-09 21:07:59 +03:00
334ddc73c1 revert: move mkdocs.yml back to root directory 2025-07-09 20:54:43 +03:00
8 changed files with 37 additions and 10 deletions

View File

@@ -7,12 +7,14 @@ on:
- '.github/**'
- '.vscode/**'
- 'docs/**'
- mkdocs.yml
pull_request:
branches: [ "master" ]
paths-ignore:
- '.github/**'
- '.vscode/**'
- 'docs/**'
- mkdocs.yml
permissions:
contents: write
@@ -31,3 +33,22 @@ jobs:
with:
name: bridge
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 }}

View File

@@ -5,10 +5,12 @@ on:
branches: [ master ]
paths:
- docs/**
- mkdocs.yml
pull_request:
branches: [ "master" ]
paths:
- docs/**
- mkdocs.yml
permissions:
contents: write
@@ -35,4 +37,3 @@ jobs:
- run: pip install mkdocs-material
- run: pip install mkdocs-video
- run: mkdocs gh-deploy --force
working-directory: ./docs

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
@@ -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`.
- The compiled executable will be located in `build/bridge.exe`.
## Star History
[![Star History Chart](https://api.star-history.com/svg?repos=enderice2/rpc-bridge&type=Date)](https://www.star-history.com/#enderice2/rpc-bridge&Date)
## Credits
This project is inspired by [wine-discord-ipc-bridge](https://github.com/0e4ef622/wine-discord-ipc-bridge).

View File

@@ -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 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`.

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",
};

View File

@@ -5,5 +5,5 @@
#define IDM_HELP_ABOUT 40003
#define IDM_VIEW_LOG 40004
#define VER_VERSION 1, 4, 0, 0
#define VER_VERSION_STR "1.4.0.0\0"
#define VER_VERSION 1, 4, 0, 1
#define VER_VERSION_STR "1.4.0.1\0"