mirror of
https://github.com/SpotX-Official/SpotX.git
synced 2026-06-19 05:40:06 +10:00
disable native lyrics
- added -lyrics_block parameter to completely disable native lyrics
This commit is contained in:
@@ -87,7 +87,10 @@ param
|
||||
|
||||
[Parameter(HelpMessage = 'Returns old lyrics')]
|
||||
[switch]$old_lyrics,
|
||||
|
||||
|
||||
[Parameter(HelpMessage = 'Disable native lyrics')]
|
||||
[switch]$lyrics_block,
|
||||
|
||||
[Parameter(HelpMessage = 'Do not create desktop shortcut.')]
|
||||
[switch]$no_shortcut,
|
||||
|
||||
@@ -1320,6 +1323,9 @@ function Helper($paramname) {
|
||||
|
||||
$VarJs = $webjson.VariousJs
|
||||
|
||||
if (!($lyrics_block)) { Remove-Json -j $VarJs -p "lyrics-block" }
|
||||
|
||||
|
||||
if (!($devtools)) { Remove-Json -j $VarJs -p "dev-tools" }
|
||||
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user