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

Commit

Permalink
Fixed mimimal problem, regarding x86 paths.
Browse files Browse the repository at this point in the history
  • Loading branch information
Vatuu committed Mar 26, 2018
1 parent 913598a commit 0efa610
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<groupId>net.arikia.dev</groupId>
<artifactId>discord-rpc</artifactId>
<name>DiscordRPC</name>
<version>1.4</version>
<version>1.4.2</version>
<packaging>jar</packaging>

<properties>
Expand Down
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-x86/discord-rpc.dll";
finalPath = is64bit ? "/win-x64/discord-rpc.dll" : "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 0efa610

Please sign in to comment.