Skip to content

Commit

Permalink
0.8.3 bug fix for new auto-enable feature
Browse files Browse the repository at this point in the history
  • Loading branch information
TfTHacker committed Jan 6, 2024
1 parent 10369ab commit 4d5ad78
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 10 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# 0.8.3

### Fix

- New auto-enable for new plugin installs not persisting the enabled state. (Issue: https://github.com/TfTHacker/obsidian42-brat/issues/74)
- chore: update all dependencies.

# 0.8.2

### New
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "obsidian42-brat",
"name": "BRAT",
"version": "0.8.2",
"version": "0.8.3",
"minAppVersion": "1.4.16",
"description": "Easily install a beta version of a plugin for testing.",
"author": "TfTHacker",
Expand Down
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@
"devDependencies": {
"typescript": "5.3.3",
"tslib": "^2.6.2",
"@types/node": "^20.10.5",
"@typescript-eslint/eslint-plugin": "^6.15.0",
"@typescript-eslint/parser": "^6.15.0",
"@typescript-eslint/utils": "^6.15.0",
"@types/node": "^20.10.6",
"@typescript-eslint/eslint-plugin": "^6.17.0",
"@typescript-eslint/parser": "^6.17.0",
"@typescript-eslint/utils": "^6.17.0",
"builtin-modules": "3.3.0",
"esbuild": "0.19.10",
"esbuild": "0.19.11",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.1",
Expand All @@ -36,21 +36,21 @@
"eslint-plugin-jsonc": "^2.11.2",
"eslint-plugin-mdx": "^3.0.0",
"eslint-plugin-only-warn": "^1.1.0",
"eslint-plugin-prettier": "^5.1.0",
"eslint-plugin-prettier": "^5.1.2",
"eslint-plugin-tsdoc": "^0.2.17",
"eslint-plugin-yml": "^1.11.0",
"@html-eslint/eslint-plugin": "^0.22.0",
"@html-eslint/parser": "^0.22.0",
"husky": "^8.0.3",
"jsdom": "^23.0.1",
"jsdom": "^23.1.0",
"lint-staged": "^15.2.0",
"prettier": "^3.1.1",
"remark-preset-lint-consistent": "^5.1.2",
"remark-preset-lint-markdown-style-guide": "^5.1.3",
"remark-preset-lint-recommended": "^6.1.3",
"remark-preset-prettier": "^2.0.1",
"ts-node": "^10.9.2",
"typedoc": "^0.25.4",
"typedoc": "^0.25.6",
"@types/obsidian-typings": "github:Fevol/obsidian-typings",
"obsidian": "1.4.11"
},
Expand Down
2 changes: 1 addition & 1 deletion src/features/BetaPlugins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ export default class BetaPlugins {
plugins.getPluginFolder() + '/' + primaryManifest.id
);
await plugins.loadManifest(pluginTargetFolderPath);
await plugins.enablePlugin(primaryManifest.id);
await plugins.enablePluginAndSave(primaryManifest.id);
}
await this.plugin.app.plugins.loadManifests();
if (forceReinstall) {
Expand Down

1 comment on commit 4d5ad78

@TfTHacker
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addresses bug report #74

Please sign in to comment.