Skip to content

Commit b639660

Browse files
fix(ci): find DMG by type f in dmg/ subdirectory (#246)
* chore: 删除Desktop死代码DiffReviewPanel副本+取消shared DiffReviewPanel注释 - 删除app/desktop/src/components/DiffReviewPanel.tsx和.module.css(shared已有) - 取消shared/ui/index.ts中DiffReviewPanel的注释导出 - RunDetail.tsx改为从@shared/ui统一导入 - shadcn/ui审计:代码中无shadcn/radix-ui依赖,仅agentTemplates中一处文案引用 * chore: Skeleton迁移到shared/ui + LoginForm死代码删除 - Skeleton.tsx从desktop/web重复副本迁移到@shared/ui - 更新App.tsx/MainView.tsx三处import指向@shared/ui - 删除LoginForm.module.css两个死代码副本(无任何组件引用) - 删除desktop/web两端旧Skeleton副本 * chore: 删除7个残留旧目录 + 清理reference散文件 - 删除docs/inbox, docs/research, docs/review, docs/handoff, docs/roadmaps, docs/guides(已迁移内容至新目录) - 删除docs/reference/cross-comparison(已迁移至competitive/) - reference下散文件移至technical/ - 新一轮深度审查完成:Tauri(6/10), i18n(8/10), Edge安全(4/10) * chore: reference目录整理 - 散文件归入technical/ + 删除残余子目录 - 22个竞品/技术文档从reference/根目录移入reference/technical/ - 删除reference/planning, reference/web-research, reference/codex残余目录 - reference根目录仅保留README, REPORT-TEMPLATE, competitive/, projects/, technical/ * chore: 删除architecture旧副本和reference散文件 - 删除docs/architecture下旧副本(implementation-guide/product-requirements/system-architecture),已在system-design/下 - 删除docs/architecture/decisions+design旧目录,已在technical-decisions+component-design下 - 删除docs/reference/README.md+REPORT-TEMPLATE.md散文件 - 删除docs/roadmap.md+governance-execution.md散文件 - docs根目录最终结构:14个目录,干净整洁 * fix(ci): find DMG by type f in dmg/ subdirectory The find with -o matched the .app directory first, causing cp to fail with "is a directory". Now searches only in the dmg/ subdirectory with -type f. Co-Authored-By: Claude <noreply@anthropic.com> --------- Co-authored-by: Claude <noreply@anthropic.com>
1 parent d631722 commit b639660

116 files changed

Lines changed: 10 additions & 31178 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,9 +215,9 @@ jobs:
215215
run: |
216216
ver="${{ github.ref_name }}"
217217
ver="${ver#v}"
218-
dmg=$(find app/desktop/src-tauri/target/release/bundle -name "*.dmg" -o -name "*.app" | head -1)
218+
dmg=$(find app/desktop/src-tauri/target/release/bundle/dmg -name "*.dmg" -type f | head -1)
219219
if [ -z "$dmg" ]; then
220-
echo "ERROR: No DMG or APP found in bundle directory"
220+
echo "ERROR: No DMG found"
221221
find app/desktop/src-tauri/target/release/bundle -type f 2>/dev/null || echo "bundle dir not found"
222222
exit 1
223223
fi

app/desktop/src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ import { useTaskBridgeStore } from '@/stores/taskBridgeStore';
4646
import { readCustomInstructions } from '@/utils/customInstructions';
4747
import { buildForkDraft, findRetryPrompt } from '@/utils/messageActions';
4848
import { useShallow } from 'zustand/shallow';
49-
import { SkeletonLine } from '@/components/Skeleton';
49+
import { SkeletonLine } from '@shared/ui';
5050
import { useToastStore } from '@/stores/toastStore';
5151
import { useHubStore } from '@/stores/hubStore';
5252
import { Slot } from '@/views/viewRegistry';

0 commit comments

Comments
 (0)