Skip to content

Commit

Permalink
feat: #319 PicGO图形化配置界面-挂载SyCmd
Browse files Browse the repository at this point in the history
  • Loading branch information
terwer committed Feb 14, 2023
1 parent 263bd4a commit 72dbeea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions components/anki/AnkiIndex.vue
Expand Up @@ -124,8 +124,8 @@
class="button"
:data-block-id="o.id"
@click="saveAnkiInfo(o.id)"
>保存Anki标记</el-button
>
>保存Anki标记
</el-button>
</div>
</el-card>
</el-col>
Expand Down Expand Up @@ -174,7 +174,7 @@ const updateCard = async () => {
})
.then(async () => {
const dataDir: string = getSiyuanNewWinDataDir()
const ankisiyuanPath = `${dataDir}/widgets/ankisiyuan.bin`
const ankisiyuanPath = `${dataDir}/widgets/sy-post-publisher/lib/cmd/ankisiyuan.bin`
const result = await scriptUtil.execShellCmd(ankisiyuanPath)
ElMessage.success("操作成功,执行结果=>" + result)
})
Expand Down Expand Up @@ -348,6 +348,7 @@ onMounted(async () => {
.anki-card-col {
margin: 8px 0;
}
.anki-value {
margin: 16px 0;
}
Expand Down
Binary file added public/lib/cmd/ankisiyuan.bin
Binary file not shown.

0 comments on commit 72dbeea

Please sign in to comment.