diff --git a/.github/workflows/fastlane.yml b/.github/workflows/fastlane.yml new file mode 100644 index 0000000..43a4632 --- /dev/null +++ b/.github/workflows/fastlane.yml @@ -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 diff --git a/android/app/build.gradle b/android/app/build.gradle index a544de7..ee5cc5f 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -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 } @@ -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 } } } @@ -102,4 +108,4 @@ flutter { dependencies { implementation "androidx.activity:activity-ktx:1.9.2" implementation 'androidx.documentfile:documentfile:1.0.1' -} \ No newline at end of file +} diff --git a/fastlane/metadata/android/en-US/full_description.txt b/fastlane/metadata/android/en-US/full_description.txt new file mode 100644 index 0000000..e595539 --- /dev/null +++ b/fastlane/metadata/android/en-US/full_description.txt @@ -0,0 +1,40 @@ +

flutter +License +Download +stars +Telegram

+ +

A comic reader that support reading local and network comics.

+ +

Features

+ + + +

Build from source

+ +
    +
  1. Clone the repository
  2. +
  3. Install flutter, see flutter.dev
  4. +
  5. Install rust, see rustup.rs
  6. +
  7. Build for your platform: e.g. flutter build apk
  8. +
+ +

Create a new comic source

+ +

See venera-configs

+ +

Thanks

+ +

Tags Translation

+ +

Readme Card

+ +

The Chinese translation of the manga tags is from this project.

diff --git a/fastlane/metadata/android/en-US/images/icon.png b/fastlane/metadata/android/en-US/images/icon.png new file mode 100644 index 0000000..803957b Binary files /dev/null and b/fastlane/metadata/android/en-US/images/icon.png differ diff --git a/fastlane/metadata/android/en-US/short_description.txt b/fastlane/metadata/android/en-US/short_description.txt new file mode 100644 index 0000000..7c8ff92 --- /dev/null +++ b/fastlane/metadata/android/en-US/short_description.txt @@ -0,0 +1 @@ +A comic reader that support reading local and network comics. diff --git a/fastlane/metadata/android/en-US/title.txt b/fastlane/metadata/android/en-US/title.txt new file mode 100644 index 0000000..eaf7f42 --- /dev/null +++ b/fastlane/metadata/android/en-US/title.txt @@ -0,0 +1 @@ +venera diff --git a/pubspec.lock b/pubspec.lock index fb17d47..9907c10 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -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" @@ -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" @@ -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" diff --git a/pubspec.yaml b/pubspec.yaml index 7573de6..01eb54e 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -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 @@ -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: @@ -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 @@ -96,4 +96,4 @@ flutter_to_arch: url: https://github.com/venera-app/venera depends: - gtk3 - - webkit2gtk-4.1 \ No newline at end of file + - webkit2gtk-4.1