From de3bbe6698a9a77d146976a3a356fb5f55118ccd Mon Sep 17 00:00:00 2001 From: 8enet Date: Wed, 27 Sep 2017 14:34:49 +0800 Subject: [PATCH] fixed #17 --- opsxpro/src/main/assets/opsx.sh | 1 - .../src/main/java/com/zzzmode/appopsx/LocalServerManager.java | 3 --- 2 files changed, 4 deletions(-) diff --git a/opsxpro/src/main/assets/opsx.sh b/opsxpro/src/main/assets/opsx.sh index 3c21b65..d1f8745 100644 --- a/opsxpro/src/main/assets/opsx.sh +++ b/opsxpro/src/main/assets/opsx.sh @@ -40,7 +40,6 @@ fi args=$type",bgrun:1,token:"$token echo "AppOpsX args: "$args -export LD_LIBRARY_PATH="/vendor/lib"$arch":/system/lib"$arch export CLASSPATH=$classpath exec app_process /system/bin com.zzzmode.appopsx.server.AppOpsMain "$args" >&2 & echo $? diff --git a/opsxpro/src/main/java/com/zzzmode/appopsx/LocalServerManager.java b/opsxpro/src/main/java/com/zzzmode/appopsx/LocalServerManager.java index deaf24a..f7fd9ff 100644 --- a/opsxpro/src/main/java/com/zzzmode/appopsx/LocalServerManager.java +++ b/opsxpro/src/main/java/com/zzzmode/appopsx/LocalServerManager.java @@ -110,7 +110,6 @@ public OpsResult exec(OpsCommands.Builder builder) throws Exception { } private List getCommonds() { - String arch = AssetsUtils.is64Bit() ? "64" : ""; StringBuilder sb = new StringBuilder(); @@ -139,8 +138,6 @@ private List getCommonds() { Log.e(TAG, "getCommonds --> " + sb); List cmds = new ArrayList<>(); - cmds.add( - "export LD_LIBRARY_PATH=" + String.format("/vendor/lib%1$s:/system/lib%2$s", arch, arch)); cmds.add("export CLASSPATH=" + SConfig.getClassPath()); cmds.add("echo start"); cmds.add("id");