Fix bug
This commit is contained in:
parent
22813645a9
commit
8ed9a0b80d
|
|
@ -42,7 +42,7 @@ android {
|
|||
dependencies {
|
||||
implementation 'com.squareup.okhttp3:okhttp:' + okhttpVersion
|
||||
implementation 'com.github.thegrizzlylabs:sardine-android:0.9'
|
||||
implementation 'wang.harlon.quickjs:wrapper-android:2.4.3'
|
||||
implementation 'wang.harlon.quickjs:wrapper-android:2.4.4'
|
||||
implementation 'com.google.code.gson:gson:2.11.0'
|
||||
implementation 'cn.wanghaomiao:JsoupXpath:2.5.1'
|
||||
implementation 'com.orhanobut:logger:2.2.0'
|
||||
|
|
|
|||
|
|
@ -123,6 +123,7 @@ public class Path {
|
|||
|
||||
public static File create(File file) throws Exception {
|
||||
try {
|
||||
if (file.getParentFile() != null) mkdir(file.getParentFile());
|
||||
if (!file.canWrite()) file.setWritable(true);
|
||||
if (!file.exists()) file.createNewFile();
|
||||
Shell.exec("chmod 777 " + file);
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1 +1 @@
|
|||
37b8ee9b068856fa4cae6cc2e6050d7b
|
||||
98e25197fce4b874343de7d40011de1d
|
||||
|
|
|
|||
Loading…
Reference in New Issue