mirror of
https://gitee.com/openharmony/graphic_graphic_2d
synced 2024-11-23 15:11:51 +00:00
modify bootanimation install dir to graphic
Signed-off-by: xiongdawei <xiongwei84@huawei.com>
This commit is contained in:
parent
b45ddaef67
commit
1ad02ff220
@ -85,18 +85,18 @@ ohos_executable("bootanimation") {
|
||||
|
||||
## Build bootanimation }}}
|
||||
|
||||
## Install data/*.jpg to /system/etc/init/ {{{
|
||||
## Install data/*.jpg to /system/etc/graphic/ {{{
|
||||
ohos_prebuilt_etc("bootanimation_pics") {
|
||||
source = "data/bootpic.zip"
|
||||
relative_install_dir = "init"
|
||||
relative_install_dir = "graphic"
|
||||
part_name = "graphic_standard"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
ohos_prebuilt_etc("bootanimation_sounds") {
|
||||
source = "data/bootsound.wav"
|
||||
relative_install_dir = "init"
|
||||
relative_install_dir = "graphic"
|
||||
part_name = "graphic_standard"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
## Install data/*.jpg to /system/etc/init/ }}}
|
||||
## Install data/*.jpg to /system/etc/graphic/ }}}
|
||||
|
@ -18,8 +18,8 @@
|
||||
|
||||
using namespace OHOS;
|
||||
static const std::string BOOT_CUSTOM_PATHSUFFIX = "etc/bootanimation/bootanimation_custom_config.json";
|
||||
static const std::string BOOT_PIC_ZIP = "/system/etc/init/bootpic.zip";
|
||||
static const std::string BOOT_SOUND_URI = "file://system/etc/init/bootsound.wav";
|
||||
static const std::string BOOT_PIC_ZIP = "/system/etc/graphic/bootpic.zip";
|
||||
static const std::string BOOT_SOUND_URI = "file://system/etc/graphic/bootsound.wav";
|
||||
|
||||
bool BootAnimationConfig::ReadPicZipFile(ImageStructVec& vec, int32_t& freq)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user