From a0587e045b5411df11fef2434512c1744b875eaf Mon Sep 17 00:00:00 2001 From: alstjr7375 Date: Thu, 5 Aug 2021 15:30:00 +0900 Subject: [PATCH 1/4] Fix: Nightly's GTK URL Bar color compatibility --- userChrome.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/userChrome.css b/userChrome.css index eedd0ed..cf80843 100644 --- a/userChrome.css +++ b/userChrome.css @@ -89,6 +89,12 @@ :root:not(:-moz-lwtheme) .urlbarView-url { --urlbar-popup-url-color: -moz-accent-color; } + + /* Nightly Compatibility */ + :root:not(:-moz-lwtheme) #urlbar { + --toolbar-field-focus-color: var(--toolbar-field-color); /* Nightly: rgba(0, 0, 0, 1) */ + --toolbar-field-focus-background-color: var(--toolbar-field-background-color); /* Nightly: white */ + } } /** Fully Theme Mode ********************************************************/ From 5ba68d82e3cc2b0ff223b549802a89b6e74c9dbb Mon Sep 17 00:00:00 2001 From: BlaCk_Void Date: Thu, 5 Aug 2021 22:35:39 +0900 Subject: [PATCH 2/4] Fix: Installer - Powershell syntax #135 --- install.ps1 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/install.ps1 b/install.ps1 index 8203754..6e71db0 100644 --- a/install.ps1 +++ b/install.ps1 @@ -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" } From 75709e2543c9da7fb65aa7affd6142e2a6e037ed Mon Sep 17 00:00:00 2001 From: alstjr7375 Date: Fri, 6 Aug 2021 16:29:32 +0900 Subject: [PATCH 3/4] Fix: userContent json broken --- userContent.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/userContent.css b/userContent.css index 0e2aee1..6e51a02 100644 --- a/userContent.css +++ b/userContent.css @@ -727,7 +727,7 @@ url-prefix("about:checkerboard"), url-prefix("about:sync-log"), url-prefix("about:memory"), - regexp("^[file:///].*[^(html|svg|pdf)]$") { + regexp("^[file:///].*[^(html|svg|pdf|json)]$") { /* Base */ html, body { @@ -955,7 +955,7 @@ /*= Directory View =========================================================*/ @-moz-document url-prefix("about:sync-log"), - regexp("^[file:///].*[^(html|svg|pdf)]$") { + regexp("^[file:///].*[^(html|svg|pdf|json)]$") { body { background-color: var(--in-content-box-background) !important; } From f16c8cc65bae264c63e4fa6efee015287d9a956c Mon Sep 17 00:00:00 2001 From: BlaCk_Void Date: Sun, 8 Aug 2021 22:25:09 +0900 Subject: [PATCH 4/4] Fix: Installer - Powershell file functions #135 --- install.ps1 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/install.ps1 b/install.ps1 index 6e71db0..1757c6f 100644 --- a/install.ps1 +++ b/install.ps1 @@ -142,7 +142,7 @@ function Copy-Auto() { Write-Host "" } - Copy-Item -Path "${file}" -Destination "${target}" -Force + Copy-Item -Path "${file}" -Destination "${target}" -Force -Recurse } function Move-Auto() { @@ -165,10 +165,10 @@ function Move-Auto() { Write-Host "" } - Move-Item -Path "${file}" -Destination "${target}" -Force + Get-ChildItem -Path "${target}" -Recurse | Move-Item -Path "${file}" -Destination "${target}" -Force } -function Restore-Auto() { + function Restore-Auto() { Param ( [Parameter(Mandatory=$true, Position=0)] [string] $file @@ -178,9 +178,9 @@ function Restore-Auto() { if ( Test-Path -Path "${file}" ) { Remove-Item "${file}" -Recurse -Force } - Move-Item -Path "${target}" -Destination "${file}" -Force + Get-ChildItem -Path "${target}" -Recurse | Move-Item -Destination "${file}" -Force - $local:loopupTarget = "${target}.bak" + $local:lookupTarget = "${target}.bak" if ( Test-Path -Path "${lookupTarget}" ) { Restore-Auto "${target}" }