We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 69df198 commit fdfefb5Copy full SHA for fdfefb5
2 files changed
plugin.json
@@ -3,7 +3,7 @@
3
"author": "Vanessa",
4
"url": "https://github.com/siyuan-note/plugin-sample",
5
"version": "0.4.3",
6
- "minAppVersion": "3.4.2",
+ "minAppVersion": "3.5.0",
7
"backends": [
8
"windows",
9
"linux",
src/index.ts
@@ -254,7 +254,10 @@ export default class PluginSample extends Plugin {
254
console.log(this.i18n.byePlugin);
255
}
256
257
- uninstall() {
+ async uninstall() {
258
+ // 卸载插件时删除插件数据
259
+ // Delete plugin data when uninstalling the plugin
260
+ await this.removeData(STORAGE_NAME);
261
console.log("uninstall");
262
263
0 commit comments