Improves plugin path resolution and versioning

Fixes dynamic path detection for plugin resources
Updates version to 1.0.1 across manifest files
Adds version compatibility mapping
Resolves issues with hardcoded directory paths

Ensures more robust plugin directory detection and resource loading
This commit is contained in:
AlexKucera committed 2025-09-05 18:01:16 +02:00
1 parent 56ab1ae320
commit 9202de926e
4 files changed
+12 -3

No files matched your search

+8
View File
@@ -5,6 +5,14 @@ All notable changes to the Obsidian Typst PDF Export plugin will be documented i
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [1.0.1]
### Fixed
- **Dynamic Path Resolution**: Fixed font caching, template loading, and temp directory paths to use dynamic plugin directory resolution instead of hardcoded "obsidian-typst-pdf-export" paths
- **Plugin Directory Detection**: Updated PdfToImageConverter to dynamically detect plugin directory name from manifest
- **Template Manager Paths**: Fixed template directory path resolution to work with renamed plugin folder
- **Documentation**: Updated README.md to reflect correct folder name "typst-pdf-export" in all installation instructions
## [1.0.0]
### Added
+1 -1
View File
@@ -1,7 +1,7 @@
{
"id": "typst-pdf-export",
"name": "Typst PDF Export",
"version": "1.0.0",
"version": "1.0.1",
"minAppVersion": "1.9.12",
"description": "Exports a note or collection of notes to a pretty Typst PDF.",
"author": "Alexander Kucera",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "obsidian-typst-pdf-export",
"version": "1.0.0",
"version": "1.0.1",
"description": "Exports a note or collection of notes to a pretty Typst PDF.",
"main": "main.js",
"scripts": {
+2 -1
View File
@@ -1,3 +1,4 @@
{
"1.0.0": "1.9.12"
"1.0.0": "1.9.12",
"1.0.1": "1.9.12"
}