diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c3cf7a4..36584c3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 diff --git a/.gitignore b/.gitignore index 4cf6b36..4cd8999 100644 --- a/.gitignore +++ b/.gitignore @@ -24,5 +24,5 @@ data.json .DS_Store # Exclude release -obsidian-private-mode/ -obsidian-private-mode.zip +private-mode/ +private-mode.zip diff --git a/manifest.json b/manifest.json index 3b727e1..3141444 100644 --- a/manifest.json +++ b/manifest.json @@ -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 -} \ No newline at end of file +} diff --git a/package.json b/package.json index ee46cd5..1067a67 100644 --- a/package.json +++ b/package.json @@ -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" }, diff --git a/styles.scss b/styles.scss index 0d9a848..d27f1cd 100644 --- a/styles.scss +++ b/styles.scss @@ -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); }