vaporvee / discord-rpc-godot

Discord RPC Plugin for GDScript with an easy-to-use code pattern in Godot Engine 4, with optional Editor Rich Presence! (Compatible with Linux, Windows, & MacOS)

Home Page:https://docs.vaporvee.com/discord-rpc-godot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature request]: Changing the .dll path

mrjshzk opened this issue · comments

What is your idea?

First of all, thank you for your patience,

Is there any way to change to path for the dll when a project is exported?
I don't mind building the addon from source to make the change.

My reasoning for this is, since I use the .Net version of Godot, I would put the dll's inside the folder that contains .net/C# dll's and make the folder for the project cleaner

image

Additional information

No response

commented

No sorry thats an issue for the engine github repo. i cant change where the exporter puts the files because the exe needs the file in the place where the engine wants it. but i would use the native c# discord sdk anyway

Thank you very much for your patience! What do you mean by the native C# Discord sdk, this?

commented

Yeah I meant this! I'm really sorry forgot to answer :/
You could also just install the nuget package (its a bit older but still works)
And big news since my plugin reached 2.3 you can edit the following file like i would do
https://github.com/vaporvee/discord-sdk-godot/blob/main/project/addons/discord-sdk-gd/discord-rpc-gd.gdextension

[configuration]

entry_symbol = "discordsdkgd_library_init"

[libraries]

windows.debug.x86_64 = { "bin/windows/discord_game_sdk_binding_debug.dll": "data_game_x86_64/" }
windows.release.x86_64 = { "bin/windows/discord_game_sdk_binding.dll": "data_game_x86_64/" }
(other stuff...)

[dependencies]


windows.debug.x86_64 = { "bin/windows/discord_game_sdk.dll": "data_game_x86_64/" }
windows.release.x86_64 = { "bin/windows/discord_game_sdk.dll": "data_game_x86_64/" }
(other stuff...)

I'm not sure if that even works didn't test it tbh but the contributer in #31 said that it could work like that

I'll check it out tomorrow when I have time
Thank you!