Skip to content

Commit 2e74bd8

Browse files
committed
feat: update
1 parent 967b9e8 commit 2e74bd8

13 files changed

Lines changed: 4 additions & 28 deletions

File tree

assets/background.png

6.36 KB
Loading

assets/background.psd

208 KB
Binary file not shown.

assets/foreground.png

50.8 KB
Loading

assets/foreground.psd

399 KB
Binary file not shown.

build_hnp.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ PACK_INFO_PATH="$BUILD_DIR/outputs/default/pack.info"
204204
PKG_CONTEXT_PATH="$BUILD_DIR/intermediates/loader/default/pkgContextInfo.json"
205205
HNP_SOURCE_PATH="$REDIS_DIR/ohos/hnp"
206206
BUILD_PROFILE_PATH="$REDIS_DIR/ohos/build-profile.json5"
207-
207+
RESOURCES_PATH="$REDIS_DIR/ohos/entry/src/main/resources"
208208
# 从 build-profile.json5 提取签名和证书路径
209209
echo "从 build-profile.json5 提取签名配置..."
210210
EXTRACT_SCRIPT="$REDIS_DIR/extract_build_profile.js"
@@ -273,7 +273,8 @@ java -jar "$APP_PACKING_TOOL" \
273273
--pack-info-path "$PACK_INFO_PATH" \
274274
--pkg-context-path "$PKG_CONTEXT_PATH" \
275275
--force true \
276-
--hnp-path "$HNP_SOURCE_PATH"
276+
--hnp-path "$HNP_SOURCE_PATH"\
277+
--resources-path "$RESOURCES_PATH"
277278

278279
if [ $? -ne 0 ]; then
279280
echo "错误: HAP 文件生成失败"
6.36 KB
Loading

ohos/AppScope/resources/base/media/background.svg

Lines changed: 0 additions & 5 deletions
This file was deleted.
50.8 KB
Loading

ohos/AppScope/resources/base/media/foreground.svg

Lines changed: 0 additions & 19 deletions
This file was deleted.
-83.4 KB
Loading

0 commit comments

Comments
 (0)