Added some labels for Text Extractor

This commit is contained in:
Simon Cambier
2023-01-03 10:25:38 +01:00
parent eecfc78be2
commit 2854bb78b6
3 changed files with 25 additions and 7 deletions

View File

@@ -192,15 +192,13 @@ async function cleanOldCacheFiles() {
}
function executeFirstLaunchTasks(plugin: Plugin) {
const code = '1.8.0-beta.3'
const code = '1.10.0-beta.1'
if (settings.welcomeMessage !== code) {
const welcome = new DocumentFragment()
welcome.createSpan({}, span => {
span.innerHTML = `<strong>Omnisearch has been updated</strong>
You can now enable "Images Indexing" to use Optical Character Recognition on your scanned documents
🔎🖼`
span.innerHTML = `🔎 Omnisearch will soon require the <strong>Text Extractor</strong> plugin to index PDF and images. See Omnisearch settings for more information.`
})
new Notice(welcome, 30000)
new Notice(welcome, 20_000)
}
settings.welcomeMessage = code