From b0e7cf1fe88d73460a593dee6e20a2da58794c4d Mon Sep 17 00:00:00 2001 From: amd64fox <62529699+amd64fox@users.noreply.github.com> Date: Sat, 17 Jun 2023 05:26:20 +0300 Subject: [PATCH] fix new theme --- Install.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Install.ps1 b/Install.ps1 index da27cfc..7fc6f61 100644 --- a/Install.ps1 +++ b/Install.ps1 @@ -821,7 +821,7 @@ if (!($block_update_on) -and !($block_update_off)) { } if ($ch -eq 'y') { $block_update = $true } -if (!($new_theme -and [version]$offline -ge [version]"1.2.14.1141")) { +if (!($new_theme) -and [version]$offline -ge [version]"1.2.14.1141") { Write-Host "This version does not support the old theme, use version 1.2.13.661 or below`n" } @@ -975,7 +975,7 @@ function Helper($paramname) { if ($smartShuffle_off) { $remEnable.remove('SmartShuffle') } if (!($funnyprogressBar)) { $remEnable.remove('HeBringsNpb') } # Old theme - if (!($new_theme -and [version]$offline -le [version]"1.2.13.661")) { + if (!($new_theme) -and [version]$offline -le [version]"1.2.13.661") { $LeftSidebar = $webjson.others.EnableExp.LeftSidebar $webjson.others.DisableExp | Add-Member -MemberType NoteProperty -Name "LeftSidebar" -Value $LeftSidebar