mirror of
https://github.com/black7375/Firefox-UI-Fix.git
synced 2025-12-06 02:30:54 -08:00
Fix: Installer - Powershell syntex #135
This commit is contained in:
parent
47c5cdddb7
commit
14252a34d1
1 changed files with 1 additions and 2 deletions
|
|
@ -631,7 +631,7 @@ function Check-InstallTypes() {
|
|||
#== Install Helpers ============================================================
|
||||
$chromeDuplicate = $false
|
||||
function Check-ChromeExist() {
|
||||
if ( Test-Path -Path "chrome" -and -Not (Test-Path -Path "chrome\${LEPTONINFOFILE}") ) {
|
||||
if ( (Test-Path -Path "chrome") -and (-Not (Test-Path -Path "chrome\${LEPTONINFOFILE}")) ) {
|
||||
$global:chromeDuplicate = $true
|
||||
Move-Auto "chrome" "chrome.bak"
|
||||
Lepton-OkMessage "Backup files"
|
||||
|
|
@ -656,7 +656,6 @@ function Clone-Lepton() {
|
|||
[Parameter(Position=0)]
|
||||
[string] $branch = ""
|
||||
)
|
||||
local branch="$1"
|
||||
|
||||
if ( "${branch}" -eq "" ) {
|
||||
$branch = "${leptonBranch}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue