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

Commit

Permalink
Fixed very critical bug
Browse files Browse the repository at this point in the history
I don't know how that escaped me up until now...
  • Loading branch information
Nicolas Adamoglou authored Mar 26, 2018
1 parent bee429f commit 913598a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/net/arikia/dev/drpc/DiscordRPC.java
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ private static void loadDLL(){

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

0 comments on commit 913598a

Please sign in to comment.