From 88758f348c20b29c21620c886f4cecd27fe56909 Mon Sep 17 00:00:00 2001 From: amd64fox Date: Sun, 22 Jan 2023 01:40:03 +0300 Subject: [PATCH] fixed hidden premium features - fixed hidden premium features for old theme --- Install.ps1 | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Install.ps1 b/Install.ps1 index 665fc0d..1bea849 100644 --- a/Install.ps1 +++ b/Install.ps1 @@ -1426,6 +1426,7 @@ If ($test_spa) { extract -counts 'more' -name '*.js' -helper 'MinJs' # xpui.css + if ($new_theme -or !($premium)) { if (!($premium)) { # Hide download icon on different pages $icon = $webjson.others.downloadicon.add @@ -1444,10 +1445,11 @@ If ($test_spa) { $navaltfix = $webjson.others.navaltfix.add[1] } $navaltfix2 = $webjson.others.navaltfix.add[2] - - $css = $icon, $submenu, $very_high, $navaltfix, $navaltfix2 - extract -counts 'one' -method 'zip' -name 'xpui.css' -add $css } + + $css = $icon, $submenu, $very_high, $navaltfix, $navaltfix2 + extract -counts 'one' -method 'zip' -name 'xpui.css' -add $css +} # Old UI fix extract -counts 'one' -method 'zip' -name 'xpui.css' -helper "FixOldTheme"