Skip to content

Commit

Permalink
Merge branch 'master' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
wgh136 authored Dec 18, 2024
2 parents a70b690 + 17bce96 commit bda215e
Show file tree
Hide file tree
Showing 8 changed files with 77 additions and 13 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/fastlane.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Validate Fastlane metadata

on:
workflow_dispatch:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:
go:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Validate Fastlane Supply Metadata
uses: ashutoshgngwr/validate-fastlane-supply-metadata@v2.0.0
12 changes: 9 additions & 3 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ android {
splits{
abi {
reset()
include 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64'
include 'armeabi-v7a', 'arm64-v8a', 'x86_64'
enable true
universalApk true
}
Expand Down Expand Up @@ -78,16 +78,22 @@ android {
buildTypes {
release {
ndk {
abiFilters "armeabi-v7a", "arm64-v8a", "x86", "x86_64"
abiFilters "armeabi-v7a", "arm64-v8a", "x86_64"
}
signingConfig signingConfigs.release
ext.abiCodes = ["armeabi-v7a": 1, "arm64-v8a": 2, "x86_64": 3]
applicationVariants.all { variant ->
variant.outputs.all { output ->
def abi = output.getFilter(com.android.build.OutputFile.ABI)
if (abi != null) {
outputFileName = "venera-${variant.versionName}-${abi}.apk"
def abiVersionCode = project.ext.abiCodes.get(abi)
if (abiVersionCode != null) {
versionCodeOverride = variant.versionCode * 10 + abiVersionCode
}
} else {
outputFileName = "venera-${variant.versionName}.apk"
versionCodeOverride = variant.versionCode * 10
}
}
}
Expand All @@ -102,4 +108,4 @@ flutter {
dependencies {
implementation "androidx.activity:activity-ktx:1.9.2"
implementation 'androidx.documentfile:documentfile:1.0.1'
}
}
40 changes: 40 additions & 0 deletions fastlane/metadata/android/en-US/full_description.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<p><a href="https://flutter.dev/"><img src="https://img.shields.io/badge/flutter-3.24.4-blue" alt="flutter"></a>
<a href="https://github.com/venera-app/venera/blob/master/LICENSE"><img src="https://img.shields.io/github/license/venera-app/venera" alt="License"></a>
<a href="https://github.com/venera-app/venera/releases"><img src="https://img.shields.io/github/v/release/venera-app/venera" alt="Download"></a>
<a href="https://github.com/venera-app/venera/stargazers"><img src="https://img.shields.io/github/stars/venera-app/venera" alt="stars"></a>
<a href="https://t.me/+Ws-IpmUutzkxMjhl"><img src="https://img.shields.io/badge/Telegram-2CA5E0?style=flat&amp;logo=telegram&amp;logoColor=white" alt="Telegram"></a></p>

<p>A comic reader that support reading local and network comics.</p>

<h2>Features</h2>

<ul>
<li>Read local comics</li>
<li>Use javascript to create comic sources</li>
<li>Read comics from network sources</li>
<li>Manage favorite comics</li>
<li>Download comics</li>
<li>View comments, tags, and other information of comics if the source supports</li>
<li>Login to comment, rate, and other operations if the source supports</li>
</ul>

<h2>Build from source</h2>

<ol>
<li>Clone the repository</li>
<li>Install flutter, see <a href="https://flutter.dev/docs/get-started/install">flutter.dev</a></li>
<li>Install rust, see <a href="https://rustup.rs/">rustup.rs</a></li>
<li>Build for your platform: e.g. <code>flutter build apk</code></li>
</ol>

<h2>Create a new comic source</h2>

<p>See <a href="https://github.com/venera-app/venera-configs">venera-configs</a></p>

<h2>Thanks</h2>

<h3>Tags Translation</h3>

<p><a href="https://github.com/EhTagTranslation/Database"><img src="https://github-readme-stats.vercel.app/api/pin/?username=EhTagTranslation&amp;repo=Database" alt="Readme Card"></a></p>

<p>The Chinese translation of the manga tags is from this project.</p>
Binary file added fastlane/metadata/android/en-US/images/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions fastlane/metadata/android/en-US/short_description.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
A comic reader that support reading local and network comics.
1 change: 1 addition & 0 deletions fastlane/metadata/android/en-US/title.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
venera
12 changes: 6 additions & 6 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -408,8 +408,8 @@ packages:
dependency: "direct main"
description:
path: "."
ref: ade0b9d
resolved-ref: ade0b9d67331118c13a2b836684858e251512373
ref: "1657f62fe7545ac43a339e0a5ee2b82bacd81e9f"
resolved-ref: "1657f62fe7545ac43a339e0a5ee2b82bacd81e9f"
url: "https://github.com/wgh136/flutter_qjs"
source: git
version: "0.3.7"
Expand All @@ -433,8 +433,8 @@ packages:
dependency: "direct main"
description:
path: "."
ref: "3315082b9f7055655610e4f6f136b69e48228c05"
resolved-ref: "3315082b9f7055655610e4f6f136b69e48228c05"
ref: "7637b8b67d0a831f3cd7e702b8173e300880d32e"
resolved-ref: "7637b8b67d0a831f3cd7e702b8173e300880d32e"
url: "https://github.com/pkuislm/flutter_saf.git"
source: git
version: "0.0.1"
Expand Down Expand Up @@ -628,8 +628,8 @@ packages:
dependency: "direct main"
description:
path: "."
ref: d1c96cd6503103b3270dfe2f320d4a1c93780f53
resolved-ref: d1c96cd6503103b3270dfe2f320d4a1c93780f53
ref: "9a784b193af5d55b2a35e58fa390bda3e4f35d00"
resolved-ref: "9a784b193af5d55b2a35e58fa390bda3e4f35d00"
url: "https://github.com/venera-app/lodepng_flutter"
source: git
version: "0.0.1"
Expand Down
8 changes: 4 additions & 4 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ dependencies:
flutter_qjs:
git:
url: https://github.com/wgh136/flutter_qjs
ref: ade0b9d
ref: 1657f62fe7545ac43a339e0a5ee2b82bacd81e9f
crypto: ^3.0.6
dio: ^5.7.0
html: ^0.15.5
Expand Down Expand Up @@ -55,7 +55,7 @@ dependencies:
lodepng_flutter:
git:
url: https://github.com/venera-app/lodepng_flutter
ref: d1c96cd6503103b3270dfe2f320d4a1c93780f53
ref: 9a784b193af5d55b2a35e58fa390bda3e4f35d00
rhttp: 0.9.6
webdav_client:
git:
Expand All @@ -66,7 +66,7 @@ dependencies:
flutter_saf:
git:
url: https://github.com/pkuislm/flutter_saf.git
ref: 3315082b9f7055655610e4f6f136b69e48228c05
ref: 7637b8b67d0a831f3cd7e702b8173e300880d32e
pdf: ^3.11.1
dynamic_color: ^1.7.0
shimmer: ^3.0.0
Expand Down Expand Up @@ -96,4 +96,4 @@ flutter_to_arch:
url: https://github.com/venera-app/venera
depends:
- gtk3
- webkit2gtk-4.1
- webkit2gtk-4.1

0 comments on commit bda215e

Please sign in to comment.