diff --git a/windows_to_go.ps1 b/windows_to_go.ps1 index 44cabd0..0f8d619 100644 --- a/windows_to_go.ps1 +++ b/windows_to_go.ps1 @@ -38,6 +38,11 @@ if (-not (Test-Path -Path "$env:userprofile\.ssh" -PathType Container)) { curl -UseBasicParsing https://git.axel.tripier.fr/GoFish/boxstarter-win10/raw/branch/master/windows_to_go_ssh_pass_ed25519.asc | gpg -d > "$env:userprofile\.ssh\windows_to_go_ssh_pass_ed25519" } +# Delete empty QtPass default password-store +if (Test-Path -Path "$env:userprofile\password-store\*") { + rm -r "$env:userprofile\password-store" +} + # Clone pass repo for QtPass set GIT_SSH_COMMAND="ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -i $env:userprofile\.ssh\windows_to_go_ssh_pass_ed25519" if (Test-Path -Path "$env:userprofile\password-store" -PathType Container) {