mirror of
https://github.com/SpotX-Official/SpotX.git
synced 2026-06-21 06:30:56 +10:00
version bump to 1.2.2.582
- version bump to 1.2.2.582 - temporarily disabled setting to control if followers - minor fixes in the code
This commit is contained in:
+14
-4
@@ -443,7 +443,7 @@ function DesktopFolder {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Recommended version for spotx
|
# Recommended version for spotx
|
||||||
$online = "1.2.1.968"
|
$online = "1.2.2.582"
|
||||||
|
|
||||||
# Check version Spotify offline
|
# Check version Spotify offline
|
||||||
$offline = (Get-Item $spotifyExecutable).VersionInfo.FileVersion
|
$offline = (Get-Item $spotifyExecutable).VersionInfo.FileVersion
|
||||||
@@ -917,8 +917,8 @@ function Helper($paramname) {
|
|||||||
$webjson.others.$lyrics.replace[4] = '$1' + '"' + $background + '"'
|
$webjson.others.$lyrics.replace[4] = '$1' + '"' + $background + '"'
|
||||||
$webjson.others.$lyrics.replace[5] = '$1' + '"' + $hover + '"'
|
$webjson.others.$lyrics.replace[5] = '$1' + '"' + $hover + '"'
|
||||||
$webjson.others.$lyrics.replace[6] = '$1' + '"' + $maxmatch + '"'
|
$webjson.others.$lyrics.replace[6] = '$1' + '"' + $maxmatch + '"'
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# xpui-routes-lyrics.css
|
# xpui-routes-lyrics.css
|
||||||
if ($offline -lt "1.1.99.871") {
|
if ($offline -lt "1.1.99.871") {
|
||||||
$webjson.others.$lyrics.replace[0] = '$1' + $pasttext
|
$webjson.others.$lyrics.replace[0] = '$1' + $pasttext
|
||||||
@@ -1018,6 +1018,9 @@ function Helper($paramname) {
|
|||||||
if (!($left_sidebar_on)) { $rem.remove('leftsidebar') }
|
if (!($left_sidebar_on)) { $rem.remove('leftsidebar') }
|
||||||
if (!($right_sidebar_on)) { $rem.remove('rightsidebar'), $rem.remove('lyricssidebar') }
|
if (!($right_sidebar_on)) { $rem.remove('rightsidebar'), $rem.remove('lyricssidebar') }
|
||||||
if ($navalt_off) { $rem.remove($newhome) }
|
if ($navalt_off) { $rem.remove($newhome) }
|
||||||
|
|
||||||
|
$rem.remove('showfollows')
|
||||||
|
|
||||||
$name = "patches.json.exp."
|
$name = "patches.json.exp."
|
||||||
$n = "xpui.js"
|
$n = "xpui.js"
|
||||||
$contents = $webjson.exp.psobject.properties.name
|
$contents = $webjson.exp.psobject.properties.name
|
||||||
@@ -1158,7 +1161,7 @@ if ($test_spa -and $test_js) {
|
|||||||
Exit
|
Exit
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Test-Path $xpui_js_patch) {
|
if ($test_js) {
|
||||||
Write-Host ($lang).Spicetify`n
|
Write-Host ($lang).Spicetify`n
|
||||||
|
|
||||||
# Delete all files except "en", "ru" and "__longest"
|
# Delete all files except "en", "ru" and "__longest"
|
||||||
@@ -1289,7 +1292,14 @@ if (Test-Path $xpui_js_patch) {
|
|||||||
extract -counts 'one' -method 'nonezip' -name 'licenses.html' -helper 'HtmlLicMin'
|
extract -counts 'one' -method 'nonezip' -name 'licenses.html' -helper 'HtmlLicMin'
|
||||||
}
|
}
|
||||||
|
|
||||||
If (Test-Path $xpui_spa_patch) {
|
if (!($test_js) -and !($test_spa)) {
|
||||||
|
Write-Host "xpui.spa not found, reinstall Spotify"
|
||||||
|
Write-Host ($lang).StopScrpit
|
||||||
|
Pause
|
||||||
|
Exit
|
||||||
|
}
|
||||||
|
|
||||||
|
If ($test_spa) {
|
||||||
|
|
||||||
$bak_spa = "$env:APPDATA\Spotify\Apps\xpui.bak"
|
$bak_spa = "$env:APPDATA\Spotify\Apps\xpui.bak"
|
||||||
$test_bak_spa = Test-Path -Path $bak_spa
|
$test_bak_spa = Test-Path -Path $bak_spa
|
||||||
|
|||||||
Reference in New Issue
Block a user