From cf41b3a1ba64a101d24c0761f547911761a415d7 Mon Sep 17 00:00:00 2001
From: telesoho <telesoho@gmail.com>
Date: Thu, 7 Apr 2022 08:56:07 +0800
Subject: [PATCH] Fix #83 pasting does not work in WSL

---
 CHANGELOG.md  | 4 ++++
 package.json  | 2 +-
 src/paster.ts | 2 +-
 3 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 612eb11..2c78e6f 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,9 @@
 # Change Log
 
+## 0.18.7 (April 7, 2022)
+
+- Fix #83 pasting does not work in WSL
+
 ## 0.18.6 (March 5, 2022)
 
 - Fix #76: Windows: Markdown Download always saved to C:\
diff --git a/package.json b/package.json
index 528446d..04d784c 100644
--- a/package.json
+++ b/package.json
@@ -2,7 +2,7 @@
   "name": "vscode-markdown-paste-image",
   "displayName": "Markdown Paste",
   "description": "A smartly paste for markdown.",
-  "version": "0.18.6",
+  "version": "0.18.7",
   "publisher": "telesoho",
   "author": {
     "name": "telesoho",
diff --git a/src/paster.ts b/src/paster.ts
index 0119c81..5283740 100644
--- a/src/paster.ts
+++ b/src/paster.ts
@@ -812,7 +812,7 @@ class Paster {
           "-nologo",
           "-sta",
           "-executionpolicy",
-          "unrestricted",
+          "bypass",
           "-windowstyle",
           "hidden",
           "-file",