From 8959642d6e987f6bc1e442824172203c9153a25e Mon Sep 17 00:00:00 2001 From: root Date: Mon, 15 Jun 2026 21:49:58 +0000 Subject: [PATCH] Prepare for Obsidian community submission: id "spoiler", add LICENSE Co-Authored-By: Claude Opus 4.8 (1M context) --- LICENSE | 21 +++++++++++++++++++++ README.md | 4 ++-- manifest.json | 2 +- 3 files changed, 24 insertions(+), 3 deletions(-) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..eded562 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2026 PatruusBarba + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md index 009e292..c411bee 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ contents. 1. Download `obsidian-spoiler-plugin_v0.2.1.zip` from the [latest release](https://github.com/PatruusBarba/ObsidianSpoilerPlugin/releases/latest). 2. Unzip it into your vault's plugins folder so you end up with - `/.obsidian/plugins/obsidian-spoiler-plugin/` containing `main.js` and + `/.obsidian/plugins/spoiler/` containing `main.js` and `manifest.json`. 3. Reload Obsidian and enable **Spoiler** in *Settings → Community plugins* (you may need to turn off *Restricted mode* first). @@ -55,7 +55,7 @@ npm run build ``` This produces `main.js`. Copy it together with `manifest.json` into -`/.obsidian/plugins/obsidian-spoiler-plugin/`, then reload Obsidian and +`/.obsidian/plugins/spoiler/`, then reload Obsidian and enable the plugin as above. ## License diff --git a/manifest.json b/manifest.json index 2db3cd3..c29ac93 100644 --- a/manifest.json +++ b/manifest.json @@ -1,5 +1,5 @@ { - "id": "obsidian-spoiler-plugin", + "id": "spoiler", "name": "Spoiler", "version": "0.2.1", "minAppVersion": "0.15.0",