capacitor-dex-editor 0.0.12 → 0.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1780,8 +1780,8 @@ public class DexManager {
|
|
|
1780
1780
|
}
|
|
1781
1781
|
|
|
1782
1782
|
try {
|
|
1783
|
-
// 创建临时目录存储 smali
|
|
1784
|
-
java.io.File tempDir = new java.io.File(
|
|
1783
|
+
// 创建临时目录存储 smali 文件(使用系统临时目录)
|
|
1784
|
+
java.io.File tempDir = new java.io.File(System.getProperty("java.io.tmpdir"), "smali_temp_" + System.currentTimeMillis());
|
|
1785
1785
|
if (!tempDir.mkdirs()) {
|
|
1786
1786
|
result.put("success", false);
|
|
1787
1787
|
result.put("error", "无法创建临时目录");
|