File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 10
10
11
11
class ApkExtractor {
12
12
public:
13
- static void extractResourcesFromApk (const std::string& apkPath);
13
+ static void extractResourcesFromApk (const std::string& apkPath, bool flattenStructure = false );
14
14
15
15
private:
16
16
static bool isImageFile (const std::string& extension);
17
17
static bool isVideoFile (const std::string& extension);
18
18
static bool isAudioFile (const std::string& extension);
19
19
static void createDirectories (const std::filesystem::path& baseOutputDir, const std::filesystem::path& relativePath);
20
20
static void copyFile (const std::filesystem::path& filePath, const std::filesystem::path& outputDir, const std::filesystem::path& relativePath);
21
- static void extractMediaFiles (const std::filesystem::path& extractedDir, const std::filesystem::path& outputDir);
21
+ static void extractMediaFiles (const std::filesystem::path& extractedDir, const std::filesystem::path& outputDir, bool flattenStructure );
22
22
};
23
23
24
- void extractor (int argc,char **argv);
24
+ void extractor (int argc, char ** argv);
25
25
#endif // EXTRACTOR_H
You can’t perform that action at this time.
0 commit comments