Skip to content

Commit

Permalink
chore: update core
Browse files Browse the repository at this point in the history
  • Loading branch information
stitchrs committed Dec 21, 2022
1 parent 2fd3bb4 commit a0021a0
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ object SystemLogcat {
"Go",
"DEBUG",
"AndroidRuntime",
"ClashForAndroid",
"ClashMetaForAndroid",
"LwIP",
)

Expand Down
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
2 changes: 1 addition & 1 deletion core/src/foss/golang/clash
Submodule clash updated from a7f099 to da5733
2 changes: 1 addition & 1 deletion core/src/main/golang/native/bridge.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include <malloc.h>
#include <android/log.h>

#define TAG "ClashForAndroid"
#define TAG "ClashMetaForAndroid"

typedef const char *c_string;

Expand Down
2 changes: 1 addition & 1 deletion core/src/main/golang/native/config/fetch.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit a0021a0

Please sign in to comment.