This commit is contained in:
Young Xu 2023-02-19 00:08:28 +08:00
parent 93830fd3c1
commit 10d986897b
Signed by: xuthus5
GPG Key ID: A23CF9620CBB55F9
1 changed files with 1 additions and 2 deletions

View File

@ -75,10 +75,9 @@ func (o *Outter) createDir(fp string) error {
func (o *Outter) sourceCopy() {
sourcePath := slash(fmt.Sprintf("./themes/%s/", o.Config.Theme))
destPath := slash("./dist/" + o.Config.SourceVersion + "/")
var args []string
switch runtime.GOOS {
case "windows":
args = []string{"cmd.exe", "/C", "xcopy", "/e", "/y"}
// args = []string{"cmd.exe", "/C", "xcopy", "/e", "/y"}
default:
// mkdir
cssDir := fmt.Sprintf("%s/css", destPath)