halo/application
John Niang ccbe18567f
Fix the problem that theme assets could not be found after the first initialization (#6049)
#### What type of PR is this?

/kind bug
/area core
/milestone 2.17.x

#### What this PR does / why we need it:

When initialized for the first time, the folder `${halo.work-dir}/themes` does not exist, resulting in the `themes` path being ignored when invoking `themeRootResource.createRelative(themeName + "/templates/assets/");`. It works very well after restarting.

This PR fixes the problem by resolving theme resource directly rather than delegating to PathResourceResolver.

#### Which issue(s) this PR fixes:

Fixes #6048 

#### Does this PR introduce a user-facing change?

```release-note
修复首次初始化后无法正常访问主题资源的问题
```
2024-06-07 03:32:22 +00:00
..
src Fix the problem that theme assets could not be found after the first initialization (#6049) 2024-06-07 03:32:22 +00:00
build.gradle chore: bump preset plugins version (#5839) 2024-04-30 06:38:17 +00:00