diff --git a/CLI/Properties/AssemblyInfo.cs b/CLI/Properties/AssemblyInfo.cs
index aa8e31e..f1b0720 100644
--- a/CLI/Properties/AssemblyInfo.cs
+++ b/CLI/Properties/AssemblyInfo.cs
@@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("0.1.0.0")]
-[assembly: AssemblyFileVersion("0.1.0.0")]
+[assembly: AssemblyVersion("0.2.0.0")]
+[assembly: AssemblyFileVersion("0.2.0.0")]
diff --git a/ContextMenu/Properties/AssemblyInfo.cs b/ContextMenu/Properties/AssemblyInfo.cs
index 80e262f..07b5b6a 100644
--- a/ContextMenu/Properties/AssemblyInfo.cs
+++ b/ContextMenu/Properties/AssemblyInfo.cs
@@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("0.1.0.0")]
-[assembly: AssemblyFileVersion("0.1.0.0")]
+[assembly: AssemblyVersion("0.2.0.0")]
+[assembly: AssemblyFileVersion("0.2.0.0")]
diff --git a/Installer/ObsidianShell.aip b/Installer/ObsidianShell.aip
index 18b7014..534ae05 100644
--- a/Installer/ObsidianShell.aip
+++ b/Installer/ObsidianShell.aip
@@ -19,10 +19,10 @@
-
+
-
+
@@ -70,6 +70,7 @@
+
diff --git a/README.md b/README.md
index 05bcf9d..409db6a 100644
--- a/README.md
+++ b/README.md
@@ -2,22 +2,23 @@
Languages: [English](README.md), [简体中文](README.zh-Hans.md)
## Features
-- Open Markdown files in Obsidian through command line
- Associate Markdown files with Obsidian
- This enables you to integrate Obsidian into your workflow. For example, you can use your favorite launcher to open your notes.
+ In addition to making it easy to open notes, associating files helps integrate Obsidian into your workflows. For example, you can use a launcher to quickly open notes.
For Chinese users:
配合支持拼音搜索的启动器,还可以间接实现通过拼音搜索笔记文件,比如:
- [Everything](https://www.voidtools.com/) + [IbEverythingExt](https://github.com/Chaoses-Ib/IbEverythingExt)
- [Listary](https://www.listarypro.com/)
-
-- Open standalone Markdown files in Obsidian, i.e., use Obsidian as a Markdown editor (VaultRecent/Recent mode)
-- Enable the *global vault pattern*, which means that you only need to maintain one config for your notes at different locations (Recent mode)
-
+- VaultRecent/Recent mode
+ - Open standalone Markdown files in Obsidian, i.e., use Obsidian as a Markdown editor.
+ - Enable the *global vault pattern*, which means that you can share one config with your notes at different locations.
+- Open Markdown files in Obsidian through command line
## Installation
[Releases](https://github.com/Chaoses-Ib/ObsidianShell/releases)
+Config file location: `C:\Program Files\Chaoses Ib\ObsidianShell\ObsidianCLI.exe.Config`
+
### Set as the default program for Markdown files
![](images/File%20list.png)
@@ -26,7 +27,6 @@ Languages: [English](README.md), [简体中文](README.zh-Hans.md)
3. Check `Always use this app to open .md files`
4. Click `OK`
-
## CLI
A command line interface program for opening Markdown files in Obsidian.
@@ -36,13 +36,11 @@ It supports three opening modes:
- VaultRecent
If the Markdown file is in a vault, open the vault, otherwise link the file to Recent vault and open the vault.
- This mode is designed to open standalone Markdown files in Obsidian. The idea to implement it comes from [@etienne](https://forum.obsidian.md/t/open-and-edit-standalone-markdown-files/14977).
+ The idea to implement it comes from [@etienne](https://forum.obsidian.md/t/open-and-edit-standalone-markdown-files/14977).
- Recent
Link the Markdown file to Recent vault and open the vault.
- This mode is designed to enable the *global vault pattern*, which means that you only need to maintain one config for your notes at different locations. You can also use Obsidian purely as a Markdown editor.
-
-You can change the opening mode in `C:\Program Files\Chaoses Ib\ObsidianShell\ObsidianCLI.exe.Config`:
+You can change the opening mode in `ObsidianCLI.exe.Config`:
```xml
```
@@ -50,7 +48,7 @@ You can change the opening mode in `C:\Program Files\Chaoses Ib\ObsidianShell\Ob
Notice: The vault where the Markdown file in must be in the vault list before opening the file, i.e., you must have opened that vault before, otherwise Obsidian will report an error.
### Markdown fallback
-You can change the Markdown fallback in `ObsidianCLI.exe.Config`.
+You can change the Markdown fallback editor in `ObsidianCLI.exe.Config`.
Notepad (default):
```xml
@@ -76,9 +74,14 @@ You can set the location of your Recent vault in `ObsidianCLI.exe.Config`:
```xml
```
-And the limit of directory number:
+And the maximum number of subdirectories in Recent:
```xml
-
+
```
-Notice: You must have opened the Recent vault before, otherwise Obsidian will report an error when opening files.
\ No newline at end of file
+Notice: You must have opened the Recent vault before, otherwise Obsidian will report an error when opening files.
+
+## ContextMenu
+![](images/ContextMenu.png)
+
+It is used to open the corresponding directory in Obsidian, complementing the defect that the CLI cannot be associated with directories.
\ No newline at end of file
diff --git a/README.zh-Hans.md b/README.zh-Hans.md
index 40867a8..e24934d 100644
--- a/README.zh-Hans.md
+++ b/README.zh-Hans.md
@@ -2,23 +2,21 @@
语言:[English](README.md)、[简体中文](README.zh-Hans.md)
## 功能
-- 通过命令行在 Obsidian 中打开 Markdown 文件
- 关联 Markdown 文件到 Obsidian
- 这有助于将 Obsidian 集成进你的工作流。比如,你可以使用你喜欢的启动器来打开笔记文件。
+ 除了方便打开笔记外,关联文件还有助于将 Obsidian 集成进你的工作流,比如你可以使用一个启动器来快速打开笔记文件。
配合支持拼音搜索的启动器,还可以间接实现通过拼音搜索笔记文件,比如:
- [Everything](https://www.voidtools.com/) + [IbEverythingExt](https://github.com/Chaoses-Ib/IbEverythingExt)
- [Listary](https://www.listarypro.com/)
-- 在 Obsidian 中打开独立 Markdown 文件,即,把 Obsidian 用作一个 Markdown 编辑器(VaultRecent/Recent 模式)
-- 实现*全局仓库模式*,使得你只需要为在不同位置的笔记维护一份配置(Recent 模式)
-
+- VaultRecent/Recent 模式
+ - 在 Obsidian 中打开独立 Markdown 文件,将 Obsidian 用作一个 Markdown 编辑器
+ - 实现全局仓库模式,让不同位置的笔记可以使用同一份配置
+- 通过命令行在 Obsidian 中打开 Markdown 文件
## 安装
[Releases](https://github.com/Chaoses-Ib/ObsidianShell/releases)
-要求:
-- [.NET Framework 4.8](https://dotnet.microsoft.com/download/dotnet-framework/net48)(在 Windows 10 1903 及以上默认已安装)
-
+配置文件路径:`C:\Program Files\Chaoses Ib\ObsidianShell\ObsidianCLI.exe.Config`
### 设为 Markdown 文件的默认程序
![](images/File%20list.png)
@@ -27,7 +25,6 @@
3. 勾选 `始终使用此应用打开 .md 文件`
4. 点击 `确定`
-
## CLI
一个用来在 Obsidian 中打开 Markdown 文件的命令行程序。
@@ -37,13 +34,11 @@
- VaultRecent
如果 Markdown 文件在仓库中,打开仓库,否则把它链接到 Recent 仓库并打开。
- 这个模式被设计用于在 Obsidian 中打开独立 Markdown 文件。实现方法来自 [@etienne](https://forum.obsidian.md/t/open-and-edit-standalone-markdown-files/14977)。
+ 实现方法来自 [@etienne](https://forum.obsidian.md/t/open-and-edit-standalone-markdown-files/14977)。
- Recent
把 Markdown 文件链接到 Recent 仓库并打开。
- 这个模式被设计用于实现*全局仓库模式*,使得你只需要为在不同位置的笔记维护一份配置。你也可以把 Obsidian 单纯用作一个 Markdown 编辑器。
-
-打开模式可以在 `C:\Program Files\Chaoses Ib\ObsidianShell\ObsidianCLI.exe.Config` 中设置:
+打开模式可以在 `ObsidianCLI.exe.Config` 中设置:
```xml
```
@@ -51,7 +46,7 @@
注意:要打开的 Markdown 文件的仓库必须在仓库列表中,也就是说,你必须在之前打开过那个仓库,否则 Obsidian 会报错。
### Markdown 回落
-Markdown 回落可以在 `ObsidianCLI.exe.Config` 中设置。
+Markdown 回落编辑器可以在 `ObsidianCLI.exe.Config` 中设置。
记事本(默认):
```xml
@@ -77,9 +72,15 @@ Markdown 回落可以在 `ObsidianCLI.exe.Config` 中设置。
```xml
```
-以及目录的最大数量:
+以及 Recent 子目录的最大数量:
```xml
```
-注意:你必须在之前打开过 Recent 仓库,否则 Obsidian 会在打开文件时报错。
\ No newline at end of file
+注意:你必须在之前打开过 Recent 仓库,否则 Obsidian 会在打开文件时报错。
+
+## ContextMenu
+上下文菜单:
+![](images/ContextMenu.png)
+
+用于在 Obsidian 中打开相应目录,补足 CLI 无法关联目录的缺陷。
\ No newline at end of file
diff --git a/images/ContextMenu.png b/images/ContextMenu.png
new file mode 100644
index 0000000..f572574
Binary files /dev/null and b/images/ContextMenu.png differ