chore: 更新完成提示 toast 文案(GitMirror 服务)
This commit is contained in:
1 parent
eb4ff5197d
commit
4fe8033a1a
1 file changed
+2
-2
+2
-2
@@ -3,8 +3,8 @@
|
||||
[Windows.Data.Xml.Dom.XmlDocument, Windows.Data.Xml.Dom.XmlDocument, ContentType = WindowsRuntime] | Out-Null
|
||||
$t = [Windows.UI.Notifications.ToastNotificationManager]::GetTemplateContent([Windows.UI.Notifications.ToastTemplateType]::ToastText02)
|
||||
$n = $t.GetElementsByTagName('text')
|
||||
$n.Item(0).AppendChild($t.CreateTextNode('头像预压缩尺寸调整为 96x96')) | Out-Null
|
||||
$n.Item(1).AppendChild($t.CreateTextNode('按你的选择把 utils/imageCompress.ts 的 AVATAR_UPLOAD_SIZE 从 50 调到 96,兼顾 Talk「修改群头像」抽屉 96px 预览;列表 38px/成员 30px 依旧清晰,体积仍很小。压缩逻辑不变:居中裁剪正方形 + JPEG(q=0.9) + 透明填白 + 失败原样回退,后端二次规范化。vue-tsc 通过,GERP 部署 113 assets,产物确认默认值已是 96、无 50 残留。GERP 0d3745c,请 Ctrl+F5')) | Out-Null
|
||||
$n.Item(0).AppendChild($t.CreateTextNode('GitMirror 服务已实现,但 GitHub PAT 缺组织管理权限')) | Out-Null
|
||||
$n.Item(1).AppendChild($t.CreateTextNode('已建独立服务 GitMirror(Flask):webhook 验签入队、工作线程镜像、15 分钟定时兜底、SQLite 状态、LFS、删仓归档、register-webhook CLI。已验证:Gitea 读到 38 个仓库、credential store 可用、bare clone 成功。卡在 GitHub:PAT 属主 TermiNexus 不能在 GVSDS 组织建仓(403 need admin access),需重新生成 PAT 并勾选 Organization → Administration: Read and write + Repository → Contents/Administration: Read and write,且属主需为组织 Owner;或改为预建仓库方案。SMANAGE eb4ff519,凭据仅存本地 config.ini(已 gitignore)')) | Out-Null
|
||||
$toast = [Windows.UI.Notifications.ToastNotification]::new($t)
|
||||
[Windows.UI.Notifications.ToastNotificationManager]::CreateToastNotifier('TraeCode Agent').Show($toast)
|
||||
Write-Output 'toast-ok'
|
||||
Reference in new issue
Block a user