mirror of
https://github.com/black7375/Firefox-UI-Fix.git
synced 2025-12-06 02:30:54 -08:00
Fix: Installer - Powershell syntax #135
This commit is contained in:
parent
a0587e045b
commit
5ba68d82e3
1 changed files with 3 additions and 2 deletions
|
|
@ -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
|
||||
|
|
@ -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"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue