Fix: Installer - clean_lepton #135

This commit is contained in:
BlaCk_Void 2021-08-10 22:17:02 +09:00
parent c99098eea5
commit 396d8646b1
2 changed files with 3 additions and 3 deletions

View file

@ -647,8 +647,8 @@ function Check-ChromeRestore() {
}
function Clean-Lepton() {
if ( $chromeDuplicate -ne $true ) {
Remove-Item "chrome" -Recurse -Force
if ( ($chromeDuplicate -ne $true) -and (Test-Path -Path "chrome") ) {
Remove-Item -Path "chrome" -Recurse -Force
}
Lepton-OkMessage "End clean files"
}