old"> 37 49
             return true;
38 50
         }
39 51
         if(!new File(patchSavePath).exists()){
@@ -44,6 +56,6 @@ public class PatchManager extends IPatchManager{
44 56
 
45 57
     @Override
46 58
     protected void afterPatchSuccess() {
47
-        Preferences.getInstance(context).setPatchMD5(md5);
59
+        Preferences.getInstance(context).setPatchUrl(patchUrl);
48 60
     }
49 61
 }

+ 1 - 1
app/src/main/java/ai/pai/client/utils/UrlContainer.java

@@ -86,5 +86,5 @@ public class UrlContainer {
86 86
 
87 87
     public static final String TOUR_INFO_URL = HOST_URL +"pai2/tginfo";
88 88
 
89
-    public static final String PATCH_CONFIG_URL = HOST_URL+"patch";
89
+    public static final String PATCH_CONFIG_URL = HOST_URL+"op/patch";
90 90
 }

Kodo/kodo - Gogs: Go Git Service

1 Commity (a8a4a8de0f87b647af00f8016008706ae79121cb)

Autor SHA1 Wiadomość Data
  Brightcells 4defb80fdc gogs first init 10 lat temu