From 18c9f3e4e9093169559f3b91339834583ddad1c0 Mon Sep 17 00:00:00 2001 From: Jamie Brynes Date: Tue, 24 Aug 2021 10:19:20 +0100 Subject: [PATCH] Release v1.8.1 --- CHANGELOG.md | 6 ++++++ manifest.json | 2 +- package.json | 2 +- src/token.ts | 11 +---------- versions.json | 1 + 5 files changed, 10 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 089c676..6ac2ab7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Unreleased +### [1.8.1] - 2021-08-24 + +### 🐛 Bug Fixes + +- Token path location should no longer be incorrect on Linux machines. + ## [1.8.0] - 2021-08-07 ### ✨ Features diff --git a/manifest.json b/manifest.json index 4566260..8cebafd 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "todoist-sync-plugin", "name": "Todoist Plugin", - "version": "1.8.0", + "version": "1.8.1", "minAppVersion": "0.12.2", "description": "Materialize Todoist tasks within Obsidian notes.", "author": "Jamie Brynes", diff --git a/package.json b/package.json index 02079d8..6afe731 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "todoist-plugin", - "version": "1.8.0", + "version": "1.8.1", "description": "A Todoist plugin for Obsidian", "main": "src/index.js", "scripts": { diff --git a/src/token.ts b/src/token.ts index 88e8a13..a220922 100644 --- a/src/token.ts +++ b/src/token.ts @@ -1,12 +1,3 @@ -import { Platform } from "obsidian"; - export function getTokenPath(): string { - let pathSep = "/"; - - // If we are on windows, use backslashes. - if (Platform.isDesktop && !Platform.isMacOS) { - pathSep = "\\"; - } - - return `.obsidian${pathSep}todoist-token`; + return `.obsidian/todoist-token`; } diff --git a/versions.json b/versions.json index 2f9838f..5151dac 100644 --- a/versions.json +++ b/versions.json @@ -1,4 +1,5 @@ { + "1.8.1": "0.12.2", "1.8.0": "0.12.2", "1.7.1": "0.11.11", "1.7.0": "0.10.8",