Browse Source

fix: ci

sibichiEight
高志龙 5 months ago
parent
commit
be075856c6
  1. 2
      .idea/compiler.xml
  2. 2
      .idea/misc.xml
  3. 2
      app/src/main/java/qianmu/container/util/RootCmdUtil.java

2
.idea/compiler.xml

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project version="4"> <project version="4">
<component name="CompilerConfiguration"> <component name="CompilerConfiguration">
<bytecodeTargetLevel target="11" />
<bytecodeTargetLevel target="1.8" />
</component> </component>
</project> </project>

2
.idea/misc.xml

@ -5,7 +5,7 @@
<configuration PROFILE_NAME="Debug" CONFIG_NAME="Debug" /> <configuration PROFILE_NAME="Debug" CONFIG_NAME="Debug" />
</configurations> </configurations>
</component> </component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_11" default="true" project-jdk-name="11" project-jdk-type="JavaSDK">
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="false" project-jdk-name="11" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/build/classes" /> <output url="file://$PROJECT_DIR$/build/classes" />
</component> </component>
<component name="ProjectType"> <component name="ProjectType">

2
app/src/main/java/qianmu/container/util/RootCmdUtil.java

@ -32,7 +32,7 @@ public final class RootCmdUtil {
/** /**
* 执行命令并且输出结果 * 执行命令并且输出结果
*/ */
private static String execRootCmd(String cmd) {
public static String execRootCmd(String cmd) {
String result = ""; String result = "";
DataOutputStream dos = null; DataOutputStream dos = null;
DataInputStream dis = null; DataInputStream dis = null;

Loading…
Cancel
Save