Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

插件未生效 #12

Open
A-little-bit-of-data opened this issue Dec 23, 2021 · 9 comments
Open

插件未生效 #12

A-little-bit-of-data opened this issue Dec 23, 2021 · 9 comments

Comments

@A-little-bit-of-data
Copy link

作者你好,这是我的实际环境,设置好快捷键后,能截图,但是不上传,日志也没有写记录,想问一下这是啥原因?
image

@Molunerfinn
Copy link
Member

看了一下,日志确实少了些,后续会补充一些日志方便定位问题

@hyyxiaoluo
Copy link

想请教下问一个问题,我这边是安装了插件,按下快捷键没反应,然后换了一个快捷键来搞也是没反应,然后我打开插件配置
image
这些也不会填,我看仓库有说有内置的默认的,应该不需要自己配置了吧,直接快捷键就行了,但是我这边就是没反应,还是说需要其他环境?python?

@hyyxiaoluo
Copy link

设置快捷键后没反应,日志出现一下错误
2023-03-26 21:01:51 [PicGo WARN] cannot find command: picgo-plugin-quick-capture:undefined
2023-03-26 21:01:52 [PicGo WARN] cannot find command: picgo-plugin-quick-capture:undefined

@Molunerfinn
Copy link
Member

设置快捷键后没反应,日志出现一下错误 2023-03-26 21:01:51 [PicGo WARN] cannot find command: picgo-plugin-quick-capture:undefined 2023-03-26 21:01:52 [PicGo WARN] cannot find command: picgo-plugin-quick-capture:undefined

因为你的win截图脚本为空

@Molunerfinn
Copy link
Member

image

这个 ${__dirname} 需要换成你插件安装目录里具体的 dll 文件的路径。或者可以拷贝这个dll文件到自己任意的目录下,然后把路径替换一下
https://github.com/PicGo/picgo-plugin-quick-capture/blob/dev/src/PrScrn.dll

@hyyxiaoluo
Copy link

解决了,算是掉坑里了,咱们的插件安装后设置好快捷键就可以用。我安装后以为要配置,然后就去配置插件了。为smms这个图床名字配置然后win截图提示说默认值是win32,我就填的win32,其实应该填运行命令的,而且我发现当我为smms这个名字配置之后,就只能去用这个配置里的命令了,想变成初始的那种默认的只有去picgo的json配置里去把这个smms的插件配置给删了,很不方便。

@hyyxiaoluo
Copy link

也可能是我没发现怎么恢复默认

@Molunerfinn
Copy link
Member

图床配置名这个后续我处理一下

@hyyxiaoluo
Copy link

嗯嗯,谢谢你的回复啊,主要其他人下载这东西不懂如果也是直接去配置插件按照默认的填了,那后面大概率也是掉坑里,不生效,最好是标注下或者是到时候有个重置默认配置的按钮选项也可以,拙见,也是本身水平不高,可能很多用咱们工具的人都是高手来的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants