Pārlūkot izejas kodu

chore: update core

metacubex 3 gadi atpakaļ
vecāks
revīzija
a0021a0f73

+ 3 - 3
app/src/main/AndroidManifest.xml

@@ -65,9 +65,9 @@
                 <category android:name="android.intent.category.DEFAULT" />
                 <category android:name="android.intent.category.BROWSABLE" />
 
-                <data
-                    android:host="install-config"
-                    android:scheme="clash" />
+                <data android:scheme="clash"/>
+                <data android:scheme="clashmeta"/>
+                <data android:host="install-config"/>
             </intent-filter>
         </activity>
         <activity

+ 1 - 1
app/src/main/java/com/github/kr328/clash/log/SystemLogcat.kt

@@ -8,7 +8,7 @@ object SystemLogcat {
         "Go",
         "DEBUG",
         "AndroidRuntime",
-        "ClashForAndroid",
+        "ClashMetaForAndroid",
         "LwIP",
     )
 

+ 1 - 1
common/src/main/java/com/github/kr328/clash/common/log/Log.kt

@@ -1,7 +1,7 @@
 package com.github.kr328.clash.common.log
 
 object Log {
-    private const val TAG = "ClashForAndroid"
+    private const val TAG = "ClashMetaForAndroid"
 
     fun i(message: String, throwable: Throwable? = null) =
         android.util.Log.i(TAG, message, throwable)

+ 1 - 1
core/src/foss/golang/clash

@@ -1 +1 @@
-Subproject commit a7f09965d1dc83808707d873058e76e6ff94eebc
+Subproject commit da5733474e168f0ee32b4d8288a80e40016c0c27

+ 1 - 1
core/src/main/golang/native/bridge.h

@@ -5,7 +5,7 @@
 #include <malloc.h>
 #include <android/log.h>
 
-#define TAG "ClashForAndroid"
+#define TAG "ClashMetaForAndroid"
 
 typedef const char *c_string;
 

+ 1 - 1
core/src/main/golang/native/config/fetch.go

@@ -39,7 +39,7 @@ func openUrl(url string) (io.ReadCloser, error) {
 		return nil, err
 	}
 
-	request.Header.Set("User-Agent", "ClashForAndroid/"+app.VersionName())
+	request.Header.Set("User-Agent", "ClashMetaForAndroid/"+app.VersionName())
 
 	response, err := client.Do(request)
 	if err != nil {