Add split apks

This commit is contained in:
WardPearce
2024-11-30 13:18:31 +13:00
parent 6da2d004f3
commit e1dad8fd6a
6 changed files with 17 additions and 9 deletions
+2 -2
View File
@@ -67,8 +67,8 @@ jobs:
- name: Move files to release
run: |
mv app/build/outputs/app-release-signed.aab app/release/app-release-signed.aab
mv app/build/outputs/app-release-signed.apk app/release/app-release-signed.apk
mv app/build/outputs/*.aab app/release/
mv app/build/outputs/*.apk app/release/
- name: get-npm-version
id: package-version
+10 -2
View File
@@ -7,8 +7,8 @@ android {
applicationId "us.materialio.app"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 73
versionName "1.6.22"
versionCode 74
versionName "1.6.23"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
aaptOptions {
// Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps.
@@ -22,6 +22,14 @@ android {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
splits {
abi {
enable true
reset()
include 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64'
universalApk true
}
}
}
repositories {
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "Materialious",
"version": "1.6.22",
"version": "1.6.23",
"description": "Modern material design for Invidious.",
"author": {
"name": "Ward Pearce",
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "materialious",
"version": "1.6.22",
"version": "1.6.23",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "materialious",
"version": "1.6.22",
"version": "1.6.23",
"dependencies": {
"@capacitor-community/electron": "^5.0.1",
"@capacitor/android": "6.1.2",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "materialious",
"version": "1.6.22",
"version": "1.6.23",
"private": true,
"scripts": {
"dev": "vite dev",
+1 -1
View File
@@ -5,7 +5,7 @@ import json
import os
import re
LATEST_VERSION = "1.6.22"
LATEST_VERSION = "1.6.23"
WORKING_DIR = os.path.join(os.path.dirname(os.path.realpath(__file__)), "materialious")
ROOT_PACKAGE = os.path.join(WORKING_DIR, "package.json")