feat(system): 用户主题配置持久化

This commit is contained in:
2026-04-02 20:45:42 +08:00
parent fc1c976e46
commit a6d9c99376
9 changed files with 345 additions and 1 deletions

View File

@@ -34,6 +34,8 @@ if ($LASTEXITCODE -eq 0) {
throw "当前没有已暂存的改动,请先执行 git add。"
}
$stagedFiles = @(git -C $repoRoot diff --cached --name-only)
$types = @(
'feat',
'feat-wip',
@@ -82,6 +84,11 @@ $message = "{0}({1}): {2}" -f $type, $scope, $description
Write-Host ""
Write-Host "提交信息预览:$message"
Write-Host ""
Write-Host "本次将提交以下已暂存文件:"
foreach ($file in $stagedFiles) {
Write-Host " - $file"
}
$confirm = Read-Host '确认提交请输入 y取消请输入其他任意内容'
if ($confirm -ne 'y' -and $confirm -ne 'Y') {