Skip to content

Commit 6bd4749

Browse files
fix: install.sh cp behavior on macOS, update README with oral triggers
1 parent 9ce160f commit 6bd4749

2 files changed

Lines changed: 8 additions & 6 deletions

File tree

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,17 @@ bash skills/install.sh
2222

2323
或對 OpenCode 說:
2424

25-
> 「安裝技能」
25+
> 「幫我安裝位在 `https://github.com/shumingyang-opencode/dev-docker-image-packages.git` 的技能」
26+
> 或簡單說:「安裝技能」
2627
2728
### 2. 可用指令
2829

2930
|| 效果 |
3031
|----|------|
31-
| 「有哪些 image」 | 列出所有可用 Image |
32-
| 「加 image」 | 互動式新增 Image(Dockerfile + README) |
33-
| 「build image」 | 觸發 GitHub Actions 建置指定 Image |
32+
| 「幫我安裝位在 `https://github.com/shumingyang-opencode/dev-docker-image-packages.git` 的技能」 | 從 repo 安裝所有 ddip 技能 |
33+
| 「有哪些 image」 / 「list images」 / 「可用 image」 | 列出所有可用 Image |
34+
| 「加 image」 / 「new image」 / 「create image」 | 互動式新增 Image(Dockerfile + README) |
35+
| 「build image」 / 「建置 image」 / 「更新 image」 | 觸發 GitHub Actions 建置指定 Image |
3436

3537
### 3. 手動觸發 Build
3638

skills/install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ echo "Installing ddip skills to $TARGET ..."
88

99
for skill_dir in "$REPO_DIR/skills"/*/; do
1010
name=$(basename "$skill_dir")
11-
[ -f "$skill_dir/SKILL.md" ] || continue
12-
cp -r "$skill_dir" "$TARGET/"
11+
[ -f "$REPO_DIR/skills/$name/SKILL.md" ] || continue
12+
cp -r "$REPO_DIR/skills/$name" "$TARGET/$name"
1313
echo " [OK] $name"
1414
done
1515

0 commit comments

Comments
 (0)