Skip to content

Commit 33833a5

Browse files
committed
Merge branches 'master' and 'master' of github.com:Lachee/discord-rpc-csharp
2 parents a51c79b + 7ac7be3 commit 33833a5

File tree

1 file changed

+6
-25
lines changed

1 file changed

+6
-25
lines changed

README.md

Lines changed: 6 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Discord Rich Presence
22

3-
[![Build status](https://ci.appveyor.com/api/projects/status/dpu2l7ta05uvm397/branch/nuget?svg=true)](https://ci.appveyor.com/project/Lachee/discord-rpc-csharp/branch/nuget)
4-
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/a3fc8999eb734774bff83179fee2409e)](https://app.codacy.com/app/Lachee/discord-rpc-csharp?utm_source=github.com&utm_medium=referral&utm_content=Lachee/discord-rpc-csharp&utm_campaign=badger) [![Nuget](https://img.shields.io/nuget/v/DiscordRichPresence.svg)](https://www.nuget.org/packages/DiscordRichPresence/)
3+
[![Release 📦](https://github.com/Lachee/discord-rpc-csharp/actions/workflows/release.yml/badge.svg)](https://github.com/Lachee/discord-rpc-csharp/actions/workflows/release.yml)
4+
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/30c4e9f58b7f4a058f79ad0acd743edf)](https://www.codacy.com/gh/Lachee/discord-rpc-csharp/dashboard?utm_source=github.com&utm_medium=referral&utm_content=Lachee/discord-rpc-csharp&utm_campaign=Badge_Grade) [![Nuget](https://img.shields.io/nuget/v/DiscordRichPresence.svg)](https://www.nuget.org/packages/DiscordRichPresence/)
55

66
This is a C# _implementation_ of the [Discord RPC](https://github.com/discordapp/discord-rpc) library which was originally written in C++. This avoids having to use the official C++ and instead provides a managed way of using the Rich Presence within the .NET environment*.
77

@@ -20,7 +20,7 @@ Here are some key features of this library:
2020
- **Full Unity3D Editor** (Contains all the tools, inspectors and helpers for a Unity3D game all in one package).
2121

2222
# Documentation
23-
All the documentation can be found [lachee.github.io/discord-rpc-csharp/docs/](https://lachee.github.io/discord-rpc-csharp/docs/)
23+
All the documentation can be found [lachee.github.io/discord-rpc-csharp/docs/](https://lachee.github.io/discord-rpc-csharp/)
2424

2525
# Installation
2626

@@ -43,7 +43,7 @@ You can also [Download or Build](#building) your own version of the library if y
4343

4444
**Source: Unity3D Game Engine**
4545

46-
There is a Unity Package available for quick setup, which includes the editor scripts, managers and tools to make your life 100x easier. Simply download the package from the [Artifacts](https://ci.appveyor.com/project/Lachee/discord-rpc-csharp/build/artifacts) AppVoyer generates. This includes prebuilt native library and the managed library, so you don't need to worry about a thing.
46+
Unity Package is being moved to [Lachee/Discord-RPC-Unity](https://github.com/Lachee/discord-rpc-unity). Please check the releases / documentation there.
4747

4848
For building your own package, read the [building](#building) guide.
4949

@@ -140,33 +140,14 @@ void Deinitialize()
140140

141141
## Building
142142

143-
144-
**Master**
145-
146-
[![Build status](https://ci.appveyor.com/api/projects/status/dpu2l7ta05uvm397/branch/master?svg=true)](https://ci.appveyor.com/project/Lachee/discord-rpc-csharp/branch/master)
147-
148-
**Nuget**
149-
150-
[![Build status](https://ci.appveyor.com/api/projects/status/dpu2l7ta05uvm397/branch/nuget?svg=true)](https://ci.appveyor.com/project/Lachee/discord-rpc-csharp/branch/nuget)
151-
152-
153-
143+
[![Release 📦](https://github.com/Lachee/discord-rpc-csharp/actions/workflows/release.yml/badge.svg)](https://github.com/Lachee/discord-rpc-csharp/actions/workflows/release.yml) [![Documentation 📚](https://github.com/Lachee/discord-rpc-csharp/actions/workflows/documentation.yml/badge.svg)](https://github.com/Lachee/discord-rpc-csharp/actions/workflows/documentation.yml)
154144

155145

156146
**DiscordRPC Library**
157-
158-
You can build the solution easily in Visual Studio, it's a simple matter of right clicking the project and hitting build. However, if you wish to build via command line, you can do so with the PowerShell build script:
159147
```
160-
.\build.ps1 -target Default
148+
dotnet build -c Release
161149
```
162150

163151
**Unity3D**
164152

165-
The project does have a `Unity Package` available on the [Artifacts](https://ci.appveyor.com/project/Lachee/discord-rpc-csharp/build/artifacts) and it is always recommended to use that. Its automatically built and guaranteed to be the latest.
166-
167-
You can build the Unity3D package using the command below. Make sure you update the `DiscordRPC.dll` within the Unity Project first as it is not automatically updated:
168-
```
169-
.\build.ps1 -target Default -MakeUnityPackage
170-
```
171-
172153
If you wish to have barebones Unity3D implementation, you need to build the `DiscordRPC.dll`, the [Unity Named Pipes](https://github.com/Lachee/unity-named-pipes) Library and the [UnityNamedPipe.cs](https://github.com/Lachee/discord-rpc-csharp/blob/master/Unity%20Example/Assets/Discord%20RPC/Scripts/Control/UnityNamedPipe.cs). Put these in your own Unity Project and the `.dll`s in a folder called `Plugins`.

0 commit comments

Comments
 (0)