From 4fe8033a1ac3be9794ab30bd07bb5a7f89b9dd5f Mon Sep 17 00:00:00 2001 From: TermiNexus Date: Fri, 23 Oct 2026 13:48:32 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=9B=B4=E6=96=B0=E5=AE=8C=E6=88=90?= =?UTF-8?q?=E6=8F=90=E7=A4=BA=20toast=20=E6=96=87=E6=A1=88=EF=BC=88GitMirr?= =?UTF-8?q?or=20=E6=9C=8D=E5=8A=A1=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _toast.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_toast.ps1 b/_toast.ps1 index 8f3a2b37..b43f9362 100644 --- a/_toast.ps1 +++ b/_toast.ps1 @@ -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'