diff --git a/README.md b/README.md index d038f79..7f6b11f 100644 --- a/README.md +++ b/README.md @@ -28,21 +28,35 @@ If you want some features or have any questions about this plugin, create issues ![Search Movie By File Name](./doc/search_by_file_name.gif) ## Settings -- Setting Example2/设置案例2 -![Setting Example2](./doc/setting_zh.gif) - - - Setting Example1/设置案例1 -![Setting Example1](./doc/setting_en.gif) +![Setting Example1](./doc/setting_zh.gif) + + +- Setting Example2/设置案例2 +![Setting Example2](./doc/setting_en.gif) ## How to install ### From Obsidian -1. go to obsidian plugin center -2. search obsidian-douban -3. click install -4. enable plugin +1. Go to Obsidian plugin center/进入Obsidian插件中心 +2. Search obsidian-douban/搜索obsidian-douban +3. Click install/安装 +4. Enable plugin/开启插件 ### Manmel -#### Windows -#### - -### Linx \ No newline at end of file +1. Download `main.js`, `manifest.json`, `styles.css` from GitHub release page +从Github release 页面下载 `main.js`, `manifest.json`, `styles.css` +2. Copy step1 downloaded file to your vault folder `/.obsidian/plugins/obsidian-douban/` +将下载的文件复制到你的Obsidian文档根目录下的`/.obsidian/plugins/obsidian-douban`路径,若不存在则新建文件夹(注意.obsidian文件夹可能是个隐藏为文件夹) +3. Enable plugin in Obsidian +在obsidian插件中心开启当前插件功能 +## How to Develop +1. Enter your test vault folder `/.obsidian/plugins/`/进入你的Obsidian测试文档文件夹下的`/.obsidian/plugins/` +2. Clone Code/克隆代码 +`git clone git@github.com:Wanxp/obsidian-douban.git` +3. Enter folder/进入代码文件夹 +`cd obsidian-douban` +4. Build/构建 +`npm run build` +5. Run and Watch code change/运行 +`npm run dev` +6. Go to your Obsidian plugin center reload this plugin/进入Obsidian插件中心重新加载当前插件 +7. Enjoy your develop/享受开发吧 \ No newline at end of file diff --git a/manifest.json b/manifest.json index 9f7dc5d..987437c 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "obsidian-douban-plugin", "name": "Douban", - "version": "1.0.1", + "version": "1.1.0", "minAppVersion": "0.12.0", "description": "This is a plugin that can import movies, books or musics info data from Douban for Obsidian .", "author": "Wanxp",