Skip to content
This repository was archived by the owner on Apr 9, 2023. It is now read-only.

Commit 913598a

Browse files
author
Nicolas Adamoglou
authored
Fixed very critical bug
I don't know how that escaped me up until now...
1 parent bee429f commit 913598a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/net/arikia/dev/drpc/DiscordRPC.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ private static void loadDLL(){
126126

127127
if(SystemUtils.IS_OS_WINDOWS){
128128
boolean is64bit = System.getProperty("sun.arch.data.model").equals("64");
129-
finalPath = is64bit ? "/win-x64/discord-rpc.dll" : "/lib/win-x32/discord-rpc.dll";
129+
finalPath = is64bit ? "/win-x64/discord-rpc.dll" : "/lib/win-x86/discord-rpc.dll";
130130
tempPath = System.getenv("TEMP") + "/discord-rpc.jar/discord-rpc.dll";
131131
}else if(SystemUtils.IS_OS_LINUX) {
132132
finalPath = "/linux/discord-rpc.so";

0 commit comments

Comments
 (0)