We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49d9c85 commit deec252Copy full SHA for deec252
src/utils/clipboard/windows10.ps1
@@ -27,6 +27,9 @@ function main {
27
$stream.Dispose() | out-null
28
29
$imagePath
30
+ # fix windows 10 native cmd crash bug when "picgo upload"
31
+ # https://github.com/PicGo/PicGo-Core/issues/32
32
+ Exit 1
33
}
34
35
try {
src/utils/getClipboardImage.ts
@@ -46,7 +46,10 @@ const getClipboardImage = (ctx: PicGo): Promise<ClipboardImage> => {
46
'-nologo',
47
'-sta',
48
'-executionpolicy', 'unrestricted',
49
- '-windowstyle', 'hidden',
+ // fix windows 10 native cmd crash bug when "picgo upload"
50
+ // https://github.com/PicGo/PicGo-Core/issues/32
51
+ // '-windowstyle', 'hidden',
52
+ // '-noexit',
53
'-file', scriptPath,
54
imagePath
55
])
0 commit comments