Skip to content

Commit 58faa57

Browse files
committed
chore: update
1 parent ce87fe1 commit 58faa57

File tree

3 files changed

+36
-48
lines changed

3 files changed

+36
-48
lines changed

pubspec.lock

Lines changed: 20 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,9 @@ packages:
44
adbutil:
55
dependency: "direct main"
66
description:
7-
path: "."
8-
ref: HEAD
9-
resolved-ref: "7ed92a5a7b6d82a5799a15bbc83a04fcde11e09a"
10-
url: "https://github.com/nightmare-space/adbutil"
11-
source: git
7+
path: "../adbutil"
8+
relative: true
9+
source: path
1210
version: "0.0.1"
1311
android_intent_plus:
1412
dependency: transitive
@@ -27,22 +25,18 @@ packages:
2725
source: hosted
2826
version: "2.0.7"
2927
app_channel:
30-
dependency: transitive
28+
dependency: "direct overridden"
3129
description:
32-
path: app_channel
33-
ref: HEAD
34-
resolved-ref: "1813601bcc9347bdf5efebf0ef1482b30012b879"
35-
url: "https://github.com/nightmare-space/applib"
36-
source: git
30+
path: "../applib/app_channel"
31+
relative: true
32+
source: path
3733
version: "0.0.1"
3834
app_manager:
3935
dependency: "direct main"
4036
description:
41-
path: "."
42-
ref: HEAD
43-
resolved-ref: c40969bf5a1bcfb6772d17b3bae793e866a8b510
44-
url: "https://github.com/nightmare-space/app_manager"
45-
source: git
37+
path: "../app_manager"
38+
relative: true
39+
source: path
4640
version: "1.0.0+1"
4741
archive:
4842
dependency: transitive
@@ -159,11 +153,9 @@ packages:
159153
device_info:
160154
dependency: "direct main"
161155
description:
162-
path: "."
163-
ref: HEAD
164-
resolved-ref: "1eb0d51916e7894c12d81d5eca988bd2d1d56456"
165-
url: "https://github.com/nightmare-space/device_info.git"
166-
source: git
156+
path: "../device_info"
157+
relative: true
158+
source: path
167159
version: "1.0.0+1"
168160
device_info_plus:
169161
dependency: "direct main"
@@ -224,11 +216,9 @@ packages:
224216
file_manager_view:
225217
dependency: "direct main"
226218
description:
227-
path: "."
228-
ref: HEAD
229-
resolved-ref: "270037270959961e038dd548291d7140ff0144c6"
230-
url: "https://github.com/nightmare-space/file_manager_view.git"
231-
source: git
219+
path: "../file_manager_view"
220+
relative: true
221+
source: path
232222
version: "1.0.0+1"
233223
file_selector:
234224
dependency: "direct main"
@@ -365,11 +355,9 @@ packages:
365355
global_repository:
366356
dependency: "direct main"
367357
description:
368-
path: "."
369-
ref: HEAD
370-
resolved-ref: ab80e5f28c639de63f8aad6b21191ef23bc1ff51
371-
url: "https://github.com/nightmare-space/global_repository"
372-
source: git
358+
path: "../global_repository"
359+
relative: true
360+
source: path
373361
version: "0.0.1"
374362
hive:
375363
dependency: transitive
@@ -988,5 +976,5 @@ packages:
988976
source: git
989977
version: "3.4.1"
990978
sdks:
991-
dart: ">=2.19.0 <3.0.0"
979+
dart: ">=2.18.0 <3.0.0"
992980
flutter: ">=3.0.0"
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# !/usr/bin/env sh
2+
# 分abi打包脚本
3+
# ./scripts/build/build_apk_split_abi.sh
4+
LOCAL_DIR=$(
5+
cd $(dirname $0)
6+
pwd
7+
)
8+
PROJECT_DIR=$LOCAL_DIR/../../..
9+
source $PROJECT_DIR/scripts/properties.sh
10+
11+
rm -rf $PROJECT_DIR/dist/*.apk
12+
flutter build apk --tree-shake-icons --dart-define=VERSION=$VERSION --dart-define=VERSION_CODE=$VERSION_CODE --split-per-abi
13+
mkdir $PROJECT_DIR/dist/ 2>/dev/null
14+
cp -f $PROJECT_DIR/build/app/outputs/flutter-apk/app-arm64-v8a-release.apk $PROJECT_DIR/dist/
15+
cp -f $PROJECT_DIR/build/app/outputs/flutter-apk/app-armeabi-v7a-release.apk $PROJECT_DIR/dist/
16+
cp -f $PROJECT_DIR/build/app/outputs/flutter-apk/app-x86_64-release.apk $PROJECT_DIR/dist/

scripts/build/build_apk_split_abi.sh

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)