protected function copyThemeDirectory()
{
$plugin = $this->attr('plugin');
$path = $plugin->getPath($this->attr('path'));
if (!$this->files->copyDirectory(__DIR__ . '/stubs/theme', $path)) {
throw new \Exception("Unable to create theme directory[{$path}]. please check permission.");
}
rename($path . '/info.stub', $path . '/info.php');
rename($path . '/views/gnb.blade.stub', $path . '/views/gnb.blade.php');
rename($path . '/views/theme.blade.stub', $path . '/views/theme.blade.php');
unlink($path . '/theme.stub');
}