Skip to content

Commit

Permalink
change: copy custom assets to xpui folder
Browse files Browse the repository at this point in the history
instead of Apps folder
  • Loading branch information
khanhas committed Jun 27, 2021
1 parent 0fa254e commit 9d6c160
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/apply/apply.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ func UserCSS(appsFolderPath, themeFolder string, scheme map[string]string) {
// UserAsset .
func UserAsset(appsFolderPath, themeFolder string) {
var assetsPath = getAssetsPath(themeFolder)

if err := utils.Copy(assetsPath, appsFolderPath, true, nil); err != nil {
var xpuiPath = filepath.Join(appsFolderPath, "xpui")
if err := utils.Copy(assetsPath, xpuiPath, true, nil); err != nil {
utils.Fatal(err)
}
}
Expand Down

0 comments on commit 9d6c160

Please sign in to comment.