Skip to content

Commit

Permalink
fix(plugins/memosplus/): 自动备份到GitHub偶然误删除
Browse files Browse the repository at this point in the history
原因:MemosUtil.List 忘记 throw ex;
  • Loading branch information
yiyungent committed Apr 8, 2023
1 parent 292fc77 commit b6e422d
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 6 deletions.
4 changes: 2 additions & 2 deletions plugins/MemosPlus/MemosPlus.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<PackageId>PluginCore.MemosPlus</PackageId>
<Version>0.1.6</Version>
<FileVersion>0.1.6.0</FileVersion>
<Version>0.1.7</Version>
<FileVersion>0.1.7.0</FileVersion>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<Company>yiyun</Company>
<Authors>yiyun</Authors>
Expand Down
21 changes: 18 additions & 3 deletions plugins/MemosPlus/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@


## 简介

> 提升 memos 使用体验, 更快捷的 memos 自动备份/导出


> 当前适配 [memos](https://usememos.com/) v0.11.0

## 功能


Expand All @@ -13,9 +23,12 @@

### 1. 嵌入 memos 默认前端

> `系统` -> `自定义脚本`
> `设置` -> `系统` -> `自定义脚本` -> `复制粘贴` -> `保存`
> **重要** : 将 `https://qqbothub.moeci.com` 替换为你的 url, 末尾不要带 `/`
> **重要** : 将 `https://qqbothub.moeci.com` 替换为你的 url, 末尾不要带 `/`
> `memosPlusBaseUrl` 为部署 MemosPlus 的 URL, 而不是部署 memos 的 URL
- [右键复制这个链接地址, 一般此为 memosPlusBaseUrl](/)

```javascript
(function () {
Expand All @@ -27,6 +40,8 @@
})();
```

> 将以上内容复制粘贴到 `自定义脚本` 中, 点击 `保存`

### 2. 设置 `GitHub`

Expand All @@ -40,7 +55,7 @@


<!-- Matomo Image Tracker-->
<img referrerpolicy="no-referrer-when-downgrade" src="https://matomo.moeci.com/matomo.php?idsite=2&amp;rec=1&amp;action_name=Plugins.MemosPlus-v0.1.6.README" style="border:0" alt="" />
<img referrerpolicy="no-referrer-when-downgrade" src="https://matomo.moeci.com/matomo.php?idsite=2&amp;rec=1&amp;action_name=Plugins.MemosPlus-v0.1.7.README" style="border:0" alt="" />
<!--
### 其它
Expand Down
1 change: 1 addition & 0 deletions plugins/MemosPlus/Utils/MemosUtil.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ public List<MemoItemModel> List(string memosSession, string rowStatus = "NORMAL"
catch (System.Exception ex)
{
System.Console.WriteLine(ex.ToString());
throw ex;
}

return rtn;
Expand Down
2 changes: 1 addition & 1 deletion plugins/MemosPlus/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"DisplayName": "memos+",
"Description": "提升 memos 体验",
"Author": "yiyun",
"Version": "0.1.6",
"Version": "0.1.7",
"SupportedVersions": [ "0.0.1" ]
}

0 comments on commit b6e422d

Please sign in to comment.