-
Notifications
You must be signed in to change notification settings - Fork 88
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
✨ Feature: add support for clipboard in wsl #87
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JeffersonQin 有尝试过集成在 vs-picgo 吗,能否正常使用?
@@ -34,7 +38,8 @@ const getClipboardImage = async (ctx: IPicGo): Promise<IClipboardImage> => { | |||
darwin: env ? path.join(ctx.baseDir, 'mac.applescript') : './clipboard/mac.applescript', | |||
win32: env ? path.join(ctx.baseDir, 'windows.ps1') : './clipboard/windows.ps1', | |||
win10: env ? path.join(ctx.baseDir, 'windows10.ps1') : './clipboard/windows10.ps1', | |||
linux: env ? path.join(ctx.baseDir, 'linux.sh') : './clipboard/linux.sh' | |||
linux: env ? path.join(ctx.baseDir, 'linux.sh') : './clipboard/linux.sh', | |||
wsl: env ? path.join(ctx.baseDir, 'wsl.sh') : './clipboard/wsl.sh' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Molunerfinn Electron 版本应该也需要加一下这个 .sh 文件,不然可能会抛出错误
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
好的,我等会去看一下(不太熟悉这块)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Molunerfinn Electron 版本应该也需要加一下这个 .sh 文件,不然可能会抛出错误
嗯OK,合并之后会补充一下
我本地做过测试了,等会我去vscode里test一下 |
可以的,直接用 |
感谢贡献! |
vscode测试过了,没有问题。
|
@JeffersonQin 可以的👍🏻,我下一版更新一下core。 |
No description provided.