mirror of
https://github.com/devon22/obsidian-gridexplorer.git
synced 2026-07-22 05:38:16 +00:00
3.1.11
This commit is contained in:
parent
cf0dddfbb1
commit
97c8f6f267
5 changed files with 20 additions and 5 deletions
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"id": "gridexplorer",
|
||||
"name": "GridExplorer",
|
||||
"version": "3.1.10",
|
||||
"version": "3.1.11",
|
||||
"minAppVersion": "1.1.0",
|
||||
"description": "Browse note files in a grid view.",
|
||||
"author": "Devon22",
|
||||
|
|
|
|||
4
package-lock.json
generated
4
package-lock.json
generated
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "gridexplorer",
|
||||
"version": "3.1.10",
|
||||
"version": "3.1.11",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "gridexplorer",
|
||||
"version": "3.1.10",
|
||||
"version": "3.1.11",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@esbuild/linux-x64": "0.17.3",
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "gridexplorer",
|
||||
"version": "3.1.10",
|
||||
"version": "3.1.11",
|
||||
"description": "Browse note files in a grid view.",
|
||||
"main": "main.js",
|
||||
"scripts": {
|
||||
|
|
|
|||
|
|
@ -448,6 +448,21 @@ export function renderModePath(gridView: GridView) {
|
|||
});
|
||||
}
|
||||
}
|
||||
|
||||
// 在系統檔案總管開啟
|
||||
if (Platform.isDesktop) {
|
||||
menu.addSeparator();
|
||||
menu.addItem((item) => {
|
||||
item
|
||||
.setTitle(t('open_in_file_explorer'))
|
||||
.setIcon('arrow-up-right')
|
||||
.onClick(() => {
|
||||
if (folder instanceof TFolder) {
|
||||
(gridView.app as any).showInFolder(folder.path);
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
if (gridView.plugin.settings.folderDisplayStyle !== 'show' && gridView.sourcePath !== '/') {
|
||||
menu.addSeparator();
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
{
|
||||
"3.1.10": "1.1.0"
|
||||
"3.1.11": "1.1.0"
|
||||
}
|
||||
Loading…
Reference in a new issue