Browse Source

Fix delete empty QtPass default password-store

master
GoFish 5 years ago
parent
commit
68f035d13b
  1. 2
      windows_to_go.ps1

2
windows_to_go.ps1

@ -40,7 +40,7 @@ if (-not (Test-Path -Path "$env:userprofile\.ssh" -PathType Container)) {
}
# Delete empty QtPass default password-store
if (Test-Path -Path "$env:userprofile\password-store\*") {
if (Test-Path -Path "$env:userprofile\password-store" -PathType Container -And -not (Test-Path -Path "$env:userprofile\password-store\*")) {
rm -r "$env:userprofile\password-store"
}

Loading…
Cancel
Save