From 9d6c16041a59ef2dd6f14009893274ded25bf928 Mon Sep 17 00:00:00 2001 From: khanhas Date: Sun, 27 Jun 2021 15:20:29 +1000 Subject: [PATCH] change: copy custom assets to xpui folder instead of Apps folder --- src/apply/apply.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/apply/apply.go b/src/apply/apply.go index 5ff6df22cf..50d300e592 100644 --- a/src/apply/apply.go +++ b/src/apply/apply.go @@ -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) } }