INNER CODE UNIT · Java

baseApkPath

Tencent/VasDolly · command/src/main/java/com/tencent/vasdolly/command/Main.java:108

                            String baseApkPath = args[args.length - 2].trim();
                            File baseApk = new File(baseApkPath);
                            if (baseApk.isDirectory()) {
                                System.out.print("\n\nBase Apk cannot be a directory!");
                                return;
                            } else if (!baseApk.exists()) {
                                System.out.print("\n\nBase Apk does not exist!");
                                return;
                            }
                            //output directory
                            String outPutPath = args[args.length - 1].trim();
                            File outputDir = new File(outPutPath);
                            if (outputDir.exists()) {
                                if (!outputDir.isDirectory() && !outputDir.getAbsolutePath().endsWith(".apk")) {
                                    System.out.print("\n\nThe output path must be a directory or apk path!");
                                    return;
                                }
                            } else {

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…