@@ -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
@@ -8,7 +8,7 @@ object SystemLogcat {
"Go",
"DEBUG",
"AndroidRuntime",
- "ClashForAndroid",
+ "ClashMetaForAndroid",
"LwIP",
)
@@ -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 @@
-Subproject commit a7f09965d1dc83808707d873058e76e6ff94eebc
+Subproject commit da5733474e168f0ee32b4d8288a80e40016c0c27
@@ -5,7 +5,7 @@
#include <malloc.h>
#include <android/log.h>
-#define TAG "ClashForAndroid"
+#define TAG "ClashMetaForAndroid"
typedef const char *c_string;
@@ -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 {