mirror of
https://github.com/SpotX-Official/SpotX.git
synced 2026-04-22 11:00:20 +10:00
version bump to 1.2.8.907
- fixes for 1.2.8 - activated exp: 1. "Your DJ" feature (testing) 2. The what's new feed panel
This commit is contained in:
13
Install.ps1
13
Install.ps1
@@ -466,10 +466,11 @@ $win10 = $win_os -match "\windows 10\b"
|
|||||||
$win8_1 = $win_os -match "\windows 8.1\b"
|
$win8_1 = $win_os -match "\windows 8.1\b"
|
||||||
$win8 = $win_os -match "\windows 8\b"
|
$win8 = $win_os -match "\windows 8\b"
|
||||||
|
|
||||||
# Recommended version for spotx
|
# Recommended version for Win 10-12
|
||||||
if ($win10 -or $win11 -or $win12) {
|
if ($win10 -or $win11 -or $win12) {
|
||||||
$onlineFull = "1.2.7.1277.g2b3ce637-219"
|
$onlineFull = "1.2.8.907.g36fbeacc-1076"
|
||||||
}
|
}
|
||||||
|
# Recommended version for Win 7-8.1
|
||||||
else {
|
else {
|
||||||
$onlineFull = "1.2.5.1006.g22820f93-1078"
|
$onlineFull = "1.2.5.1006.g22820f93-1078"
|
||||||
}
|
}
|
||||||
@@ -1079,10 +1080,11 @@ function Helper($paramname) {
|
|||||||
if (!($device_picker_old)) { $rem.remove('devicepickerold') }
|
if (!($device_picker_old)) { $rem.remove('devicepickerold') }
|
||||||
if ($made_for_you_off) { $rem.remove('madeforyou') }
|
if ($made_for_you_off) { $rem.remove('madeforyou') }
|
||||||
if (!($new_theme)) {
|
if (!($new_theme)) {
|
||||||
$rem.remove('newhome'), $rem.remove('newhome2'), $rem.remove('lyricssidebar') , $rem.remove('showcreditsinsidebar');
|
$rem.remove('newhome'), $rem.remove('newhome2'), $rem.remove('lyricssidebar') , $rem.remove('showcreditsinsidebar'), $rem.remove('enableWhatsNewFeed');
|
||||||
$webjson.exp.rightsidebar.replace = "`$1false"
|
$webjson.exp.rightsidebar.replace = "`$1false"
|
||||||
$webjson.exp.leftsidebar.replace = "`$1false"
|
$webjson.exp.leftsidebar.replace = "`$1false"
|
||||||
}
|
}
|
||||||
|
# Old theme
|
||||||
else {
|
else {
|
||||||
$webjson.exp.rightsidebar.replace = "`$1true"
|
$webjson.exp.rightsidebar.replace = "`$1true"
|
||||||
$webjson.exp.leftsidebar.replace = "`$1true"
|
$webjson.exp.leftsidebar.replace = "`$1true"
|
||||||
@@ -1423,8 +1425,9 @@ If ($test_spa) {
|
|||||||
extract -counts 'more' -name '*.css' -helper 'RemovertlCssmin'
|
extract -counts 'more' -name '*.css' -helper 'RemovertlCssmin'
|
||||||
|
|
||||||
# licenses.html minification
|
# licenses.html minification
|
||||||
extract -counts 'one' -method 'zip' -name 'licenses.html' -helper 'HtmlLicMin'
|
if ($offline -le "1.2.7.1277") {
|
||||||
|
extract -counts 'one' -method 'zip' -name 'licenses.html' -helper 'HtmlLicMin'
|
||||||
|
}
|
||||||
# blank.html minification
|
# blank.html minification
|
||||||
extract -counts 'one' -method 'zip' -name 'blank.html' -helper 'HtmlBlank'
|
extract -counts 'one' -method 'zip' -name 'blank.html' -helper 'HtmlBlank'
|
||||||
|
|
||||||
|
|||||||
@@ -940,6 +940,22 @@
|
|||||||
},
|
},
|
||||||
"match": "(Show credits in the right sidebar\",default:)(!1)",
|
"match": "(Show credits in the right sidebar\",default:)(!1)",
|
||||||
"replace": "$1true"
|
"replace": "$1true"
|
||||||
|
},
|
||||||
|
"enableWhatsNewFeed": {
|
||||||
|
"version": {
|
||||||
|
"from": "1.2.8",
|
||||||
|
"do": ""
|
||||||
|
},
|
||||||
|
"match": "(Enable the what.s new feed panel\",default:)(!1)",
|
||||||
|
"replace": "$1true"
|
||||||
|
},
|
||||||
|
"enableYourDJ": {
|
||||||
|
"version": {
|
||||||
|
"from": "1.2.6",
|
||||||
|
"do": ""
|
||||||
|
},
|
||||||
|
"match": "(Enables the \"Your DJ\" feature\",default:)(!1)",
|
||||||
|
"replace": "$1true"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user