Skip to content

Commit

Permalink
Fix: Installer - Powershell syntax #135
Browse files Browse the repository at this point in the history
  • Loading branch information
black7375 committed Aug 5, 2021
1 parent a0587e0 commit 5ba68d8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ function Select-Profile() {

if ( "${profileName}" -ne "" ) {
$local:targetPath = ""
foreach ( $global:profilePath in $firefoxProfilePaths ) {
foreach ( $profilePath in $global:firefoxProfilePaths ) {
if ( "${profilePath}" -like "*${profileName}" ) {
$targetPath = "${profilePath}"
break
Expand All @@ -451,7 +451,8 @@ function Select-Profile() {
else {
Lepton-ErrorMessage "Unable to find ${profileName}"
}
else
}
else {
if ( $firefoxProfilePaths.Length -eq 1 ) {
Lepton-OkMessage "Auto detected profile"
}
Expand Down

0 comments on commit 5ba68d8

Please sign in to comment.