Skip to content

Commit

Permalink
Fix the bug that some paths cannot be opened
Browse files Browse the repository at this point in the history
  • Loading branch information
cary-rowen committed Aug 24, 2023
1 parent b0a2228 commit 421b628
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions addon/globalPlugins/clipboardEnhancement/utility.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def tryOpenURL(text: str) -> bool:
if match:
path = match.group(0)
if os.path.exists(path):
command = "start explorer.exe " + path
command = 'start explorer.exe "%s"' %path
os.system(command)
return True
else:
Expand All @@ -86,7 +86,7 @@ def tryOpenURL(text: str) -> bool:
if match:
path = match.group(0)
if os.path.exists(path):
command = "start explorer.exe " + path
command = 'start explorer.exe "%s"' %path
os.system(command)
return True
else:
Expand Down
2 changes: 1 addition & 1 deletion buildVars.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def _(arg):
# Translators: Long description to be shown for this add-on on add-on information from add-ons manager
"addon_description": _("""对 Windows 剪贴板和 NVDA 最后一次朗读的内容进行增强支持。"""),
# version
"addon_version": "2.7.1",
"addon_version": "2.7.2",
# Author(s)
"addon_author": "大可 <[email protected]>; Cary-rowen <[email protected]>",
# URL for the add-on documentation support
Expand Down
3 changes: 3 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@
- huaiyinfeilong (代码贡献者)

## 更新日志
### V2.7.2 更新日志
* 修复部分路径无法打开。

### V2.7.1 更新日志
* 执行截图到剪贴板相关操作时如开启了黑屏则给出提示。

Expand Down

0 comments on commit 421b628

Please sign in to comment.