WilliamAnimate / discord-rpc

a fast GUI app to make custom discord RPCs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

discord-rpc

This absolute joke of an html file is my attempt at reviving ThatOneCalculator's RPC maker back from the dead. However, this repo does not use any code from that repo.

Building

To build in dev mode (development only) you run b.bat

To build in release mode (as in very small executable & fast), you run c.bat

Note

I have compiled the project with the nightly toolchain, via the command rustup toolchain install nightly-2023-11-11 && rustup override set nightly-2023-11-11

Compiling for other platforms

So far, I can verify that this works on Windows 10, however, it should be possible to compile for Linux and MacOS, since this repo does not contain any code specific to Windows.

Snap store/flatpak discord WILL NOT work, until the crate (discord-rich-presence) fixes this on their end

Note

you may have to remove all mentions of console.rs to compile for linux (unix) platforms

Compiling on different platforms

Windows

cd src-tauri && cargo b, but b.bat should do the job.

Linux

Important

Only tested on arch linux (i use arch btw)

also, you need to remove all mentions of console.rs in main.rs because im bad at rust

yay -S webkit2gtk if you do not have it already (use sudo apt-get install javascriptcoregtk-4.0 for debian based distros)

cd src-tauri && cargo b

Powered by

This crate

Downloads

but why?

About

a fast GUI app to make custom discord RPCs

License:MIT License


Languages

Language:Rust 65.0%Language:HTML 12.7%Language:CSS 11.9%Language:JavaScript 9.2%Language:Batchfile 1.3%