Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Basic build instructions #12

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# NorthstarDiscordRPC

Plugin to integrate Northstar with Discord's SDK to enable [rich presence](https://discord.com/rich-presence).

# Building

The Northstar RPC plugin uses [cargo](https://doc.rust-lang.org/cargo/index.html) to download dependencies and build code

Run `cargo build --release` in the root directory of the plugin. The output will be found in `target/release`.
Copy link
Member

@catornot catornot Oct 15, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

release is not required to build the plugin, it only disables the plugin from throwing errors and forces it to shutdown instead also ofc it optimizes it.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I though @itscynxx had issues with getting the plugin running without compiling as release? Or did I confuse something here? ^^"

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cargo build should work fine. idk why someone would have issues unless they are building on linux :|

Copy link
Member

@GeckoEidechse GeckoEidechse Nov 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So running cargo build worked just fine for me on Windows (on plugins v3).

Loading