From c70acbe7d177e303905253ee1a55f5d1bbb8e554 Mon Sep 17 00:00:00 2001 From: Mason Sciotti Date: Mon, 26 Mar 2018 10:56:05 -0700 Subject: [PATCH] Fix Unity buildhelper for linux - Fixes #157 --- examples/button-clicker/Assets/Editor/BuildHelper.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/button-clicker/Assets/Editor/BuildHelper.cs b/examples/button-clicker/Assets/Editor/BuildHelper.cs index 41b74f3..9777453 100644 --- a/examples/button-clicker/Assets/Editor/BuildHelper.cs +++ b/examples/button-clicker/Assets/Editor/BuildHelper.cs @@ -46,8 +46,8 @@ public class ScriptBatch string[] srcDlls = { "../../builds/install/osx-dynamic/lib/libdiscord-rpc.dylib" }; #else string[] dstDirs = { "Assets/Plugins", "Assets/Plugins/x86", "Assets/Plugins/x86_64" }; - string[] dstDlls = { "Assets/Plugins/x86/discord-rpc.so", "Assets/Plugins/x86_64/discord-rpc.so" }; - string[] srcDlls = { "../../builds/install/linux-dynamic/bin/discord-rpc.dll", "../../builds/install/win64-dynamic/bin/discord-rpc.dll" }; + string[] dstDlls = { "Assets/Plugins/discord-rpc.so" }; + string[] srcDlls = { "../../builds/install/linux-dynamic/lib/libdiscord-rpc.so" }; #endif Debug.Assert(dstDlls.Length == srcDlls.Length);