Zijing Zhang

Results 144 comments of Zijing Zhang

Golang 不太好实现,要实现这个功能得重新发明一个 [Clipboard.GetFileDropList](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.clipboard.getfiledroplist),有兴趣的话用 C# 写一个 Wrapper。 https://github.com/dotnet/winforms/blob/main/src/System.Windows.Forms/src/System/Windows/Forms/Clipboard.cs 最简单的做法是用 AHK 读取剪贴板的路径并作为参数调用 upgit

看起来是接口加了鉴权,建议换个图床看看---- On Tue, 2022-08-09 11:13:35 ***@***.***> wrote ---- —Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID:...

你试试打开 typora 用 sudo---- On Tue, 2022-08-09 11:21:12 ***@***.***> wrote ---- 命令行使用是正常的,只在Typora里报这个错误 —Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID:...

你可以通过 HTTP_PROXY 和 HTTPS_PROXY 环境变量进行配置

https://github.com/pluveto/upgit#config-via-environment-variables

https://www.cnblogs.com/bjlhx/p/10623907.html ------------------ 原始邮件 ------------------ 发件人: Panghh ***@***.***> 发送时间: 2022年2月17日 12:33 收件人: pluveto/upgit ***@***.***> 抄送: pluveto ***@***.***>, Comment ***@***.***> 主题: Re: [pluveto/upgit] mac 如何设置环境变量 (Issue #23) https://github.com/pluveto/upgit#config-via-environment-variables To access it from...

若可执行文件名是 `/Users/Username/Library/Upgit/upgit`,则其目录是 dir = `/Users/Username/Library/Upgit`,把 dir 追加到 PATH 即可

尽量下个版本做,不过最近较忙。欢迎 PR

一个难点是如何判断图片是否是曾经上传过的。 如果一直当作新图片,则容易引起重复,并且导致不必要的上传开销。 如果使用一个日志文件作为判断依据,那么如果用户删除了日志文件,实际上会形同虚设。

> 您好,例如说把github/xxx/xxx作为图床,如果网络图片链接符合这个格式就不上传(证明这个图片已经在我的图床中了),不符合这个格式的下载到我的本地(Temp),上传后按照配置文件的命名格式更新markdown中的链接,并删除临时图片,谢谢。 用户可能使用了多个图床,并且链接格式不一定有规律可循