From 87dd4afdc3c54976017f137bd792151e88a74b63 Mon Sep 17 00:00:00 2001 From: Mavaddat Javid <5055400+mavaddat@users.noreply.github.com> Date: Sun, 15 Oct 2023 20:15:43 -0400 Subject: [PATCH] Update README.md Updated WSL `--import`. --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9c57278..45af662 100644 --- a/README.md +++ b/README.md @@ -19,9 +19,13 @@ Download the prebuilt file `wsl-vpnkit.tar.gz` from the [latest release](https:/ ```pwsh # PowerShell -wsl --import wsl-vpnkit --version 2 $env:USERPROFILE\wsl-vpnkit wsl-vpnkit.tar.gz +wsl --import wsl-vpnkit "$env:USERPROFILE\wsl-vpnkit" "$env:USERPROFILE\Downloads\wsl-vpnkit.tar.gz" --version 2 ``` +You should see: + +![progress](https://github.com/sakai135/wsl-vpnkit/assets/5055400/2c3fee06-60bd-467e-9018-b77dc0e11e25) + Run `wsl-vpnkit`. This will run `wsl-vpnkit` in the foreground. ```sh @@ -36,7 +40,7 @@ To update, unregister the existing distro and import the new version. # PowerShell wsl --unregister wsl-vpnkit -wsl --import wsl-vpnkit --version 2 $env:USERPROFILE\wsl-vpnkit wsl-vpnkit.tar.gz +wsl --import wsl-vpnkit "$env:USERPROFILE\wsl-vpnkit" "$env:USERPROFILE\Downloads\wsl-vpnkit.tar.gz" --version 2 ``` #### Uninstall