fix: theme update
Some checks failed
Docker Build and Publish / build (push) Has been cancelled

This commit is contained in:
xboard 2025-01-11 07:06:53 +08:00
parent 64afb7845d
commit 0de998dc25
2 changed files with 2 additions and 1 deletions

View File

@ -23,3 +23,4 @@ docker-compose.yml
storage/laravels.conf
storage/laravels.pid
storage/laravels-timer-process.pid
/frontend

View File

@ -159,7 +159,7 @@ class ThemeService
throw new Exception('主题已存在');
}
File::moveDirectory($sourcePath, $targetPath);
File::copyDirectory($sourcePath, $targetPath);
$this->initConfig($config['name']);
return true;