Bilibili Comics Add Intent filter (#7900)

* Update AndroidManifest.xml

* Update build.gradle

* Update BilibiliComics.kt
This commit is contained in:
FourTOne5 2021-06-27 23:26:19 +06:00 committed by GitHub
parent 2a391a6139
commit cec752e9ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 29 additions and 4 deletions

View File

@ -1,2 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest package="eu.kanade.tachiyomi.extension" />
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="eu.kanade.tachiyomi.extension">
<application>
<activity
android:name=".en.bilibilicomics.BilibiliComicsUrlActivity"
android:excludeFromRecents="true"
android:theme="@android:style/Theme.NoDisplay">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data
android:host="www.bilibilicomics.com"
android:pathPattern="/detail/..*"
android:scheme="https" />
<data
android:host="m.bilibilicomics.com"
android:pathPattern="/detail/..*"
android:scheme="https" />
</intent-filter>
</activity>
</application>
</manifest>

View File

@ -6,7 +6,7 @@ ext {
extName = 'Bilibili Comics'
pkgNameSuffix = 'en.bilibilicomics'
extClass = '.BilibiliComics'
extVersionCode = 4
extVersionCode = 5
libVersion = '1.2'
containsNsfw = true
}

View File

@ -353,8 +353,7 @@ class BilibiliComics : HttpSource() {
Calendar.WEDNESDAY -> 3
Calendar.THURSDAY -> 4
Calendar.FRIDAY -> 5
Calendar.SATURDAY -> 6
else -> 0
else -> 6
}
}