Skip to content

Commit

Permalink
Version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
shichongrui committed Sep 9, 2021
1 parent bef22c9 commit 8d1372b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions main.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { App, Modal, Notice, Plugin, PluginSettingTab, Setting } from 'obsidian';
import { Plugin, Command } from 'obsidian';

export default class MyPlugin extends Plugin {
onload() {
this.app.workspace.on('file-open', () => {
this.app.commands.executeCommandById('file-explorer:reveal-active-file');
(this.app as any).commands.executeCommandById('file-explorer:reveal-active-file');
})
}
}
4 changes: 2 additions & 2 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"id": "obsidian-reveal-active-file",
"name": "Automatically reveal active file",
"version": "1.0.0",
"minAppVersion": "0.9.22",
"version": "1.0.1",
"minAppVersion": "0.12.15",
"description": "This plugin will reveal the active file in the navigation when a file is opened.",
"author": "Matt Sessions",
"authorUrl": "https://www.matthewsessions.com",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "obsidian-sample-plugin",
"version": "0.9.7",
"version": "1.0.1",
"description": "This is a sample plugin for Obsidian (https://obsidian.md)",
"main": "main.js",
"scripts": {
Expand Down
3 changes: 2 additions & 1 deletion versions.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"1.0.0": "0.9.22"
"1.0.0": "0.9.22",
"1.0.1": "0.12.15"
}

0 comments on commit 8d1372b

Please sign in to comment.