fixed manifest id

This commit is contained in:
Markus Moser 2025-03-14 16:44:38 +01:00
parent 4b4137b8a6
commit ab786bc109
No known key found for this signature in database
GPG key ID: AD411FF94FFE07BD
5 changed files with 7 additions and 7 deletions

View file

@ -20,7 +20,7 @@ jobs:
- name: Build plugin
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PLUGIN_NAME: ${{ github.event.repository.name }}
PLUGIN_NAME: private-mode
run: |
npm install
npm run build

4
.gitignore vendored
View file

@ -24,5 +24,5 @@ data.json
.DS_Store
# Exclude release
obsidian-private-mode/
obsidian-private-mode.zip
private-mode/
private-mode.zip

View file

@ -1,5 +1,5 @@
{
"id": "obsidian-private-mode",
"id": "private-mode",
"name": "Private Mode",
"version": "1.1.2",
"minAppVersion": "1.6.0",
@ -7,4 +7,4 @@
"author": "markusmo3",
"authorUrl": "https://github.com/markusmo3",
"isDesktopOnly": false
}
}

View file

@ -6,7 +6,7 @@
"scripts": {
"dev": "node esbuild.config.mjs",
"build": "tsc -noEmit -skipLibCheck && node esbuild.config.mjs production && sass styles.scss styles.css",
"make-release": "npm run build && bash ./.github/make_release.sh obsidian-private-mode",
"make-release": "npm run build && bash ./.github/make_release.sh private-mode",
"version": "node version-bump.mjs && git add manifest.json versions.json",
"lint": "eslint --cache --fix"
},

View file

@ -56,6 +56,6 @@ body:not(.private-mode-reveal-all) .callout[data-callout="private"]:not(.is-coll
filter: none;
}
body.private-mode-unprotected-screenshare .status-bar-item.plugin-obsidian-private-mode {
body.private-mode-unprotected-screenshare .status-bar-item.plugin-private-mode {
color: var(--text-error);
}