From 8d1372b72bfe4e3fd250a19488b92cdd10faf280 Mon Sep 17 00:00:00 2001 From: Matt Sessions Date: Thu, 9 Sep 2021 08:56:30 -0400 Subject: [PATCH] Version bump --- main.ts | 4 ++-- manifest.json | 4 ++-- package.json | 2 +- versions.json | 3 ++- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/main.ts b/main.ts index e4d9195..859af81 100644 --- a/main.ts +++ b/main.ts @@ -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'); }) } } diff --git a/manifest.json b/manifest.json index 4b8386d..a2f86e9 100644 --- a/manifest.json +++ b/manifest.json @@ -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", diff --git a/package.json b/package.json index c0573df..d342768 100644 --- a/package.json +++ b/package.json @@ -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": { diff --git a/versions.json b/versions.json index e4c0e6e..51b6f7c 100644 --- a/versions.json +++ b/versions.json @@ -1,3 +1,4 @@ { - "1.0.0": "0.9.22" + "1.0.0": "0.9.22", + "1.0.1": "0.12.15" }