update at 2025-11-04 19:58:03

This commit is contained in:
douboer
2025-11-04 19:58:03 +08:00
parent fe4daf0469
commit 931c99a4d8
7 changed files with 301 additions and 45 deletions

View File

@@ -55,15 +55,24 @@ cp -f main.js "$TARGET_DIR/"
cp -f manifest.json "$TARGET_DIR/"
cp -f styles.css "$TARGET_DIR/"
echo -e "${GREEN}✅ 文件复制完成:${NC}"
echo -e "${GREEN}Obsidian 插件文件复制完成:${NC}"
echo -e " • main.js"
echo -e " • manifest.json"
echo -e " • styles.css"
# 复制 Vim 插件
echo -e "${YELLOW}📋 复制 Vim 插件...${NC}"
mkdir -p ~/.vim/plugin
cp -f fcitx-osx.vim ~/.vim/plugin/
echo -e "${GREEN}✅ Vim 插件复制完成:${NC}"
echo -e " • fcitx-osx.vim → ~/.vim/plugin/"
# 验证文件
echo -e "${YELLOW}🔍 验证复制的文件...${NC}"
ls -la "$TARGET_DIR"
echo -e "${GREEN}🎉 部署完成!${NC}"
echo -e "${BLUE}📍 插件已部署到: $TARGET_DIR${NC}"
echo -e "${YELLOW}💡 请重启 Obsidian 或重新加载插件以使更改生效${NC}"
echo -e "${BLUE}📍 Obsidian 插件已部署到: $TARGET_DIR${NC}"
echo -e "${BLUE}📍 Vim 插件已部署到: ~/.vim/plugin/${NC}"
echo -e "${YELLOW}💡 请重启 Obsidian 或重新加载插件以使更改生效${NC}"
echo -e "${YELLOW}💡 Vim 插件将在下次启动 Vim 时自动加载${NC}"