mirror of
https://github.com/SpotX-Official/SpotX.git
synced 2026-04-11 17:37:21 +10:00
version bump to 1.2.46.462
- fixed patch block_section - some legacy exp disabled
This commit is contained in:
@@ -680,7 +680,7 @@
|
||||
"native_description": "Enable Whats new feed in the main view",
|
||||
"version": {
|
||||
"fr": "1.2.17",
|
||||
"to": ""
|
||||
"to": "1.2.45"
|
||||
}
|
||||
},
|
||||
"RightSidebarArtistEnhanced": {
|
||||
@@ -905,7 +905,7 @@
|
||||
"native_description": "Increase max number of shortcuts on home to 8",
|
||||
"version": {
|
||||
"fr": "1.2.26",
|
||||
"to": ""
|
||||
"to": "1.2.45"
|
||||
}
|
||||
},
|
||||
"NPVCredits": {
|
||||
@@ -973,11 +973,11 @@
|
||||
},
|
||||
"DevicePickerSidePanel": {
|
||||
"name": "enableDevicePickerSidePanel",
|
||||
"description": "Enables Device Picker as a side panel (temporarily disabled until 1.2.36 because it was broken in version 1.2.37)",
|
||||
"description": "Enables Device Picker as a side panel",
|
||||
"native_description": "Enables Device Picker as a side panel",
|
||||
"version": {
|
||||
"fr": "1.2.30",
|
||||
"to": ""
|
||||
"to": "1.2.45"
|
||||
}
|
||||
},
|
||||
"Otfn": {
|
||||
@@ -1112,7 +1112,7 @@
|
||||
"native_description": "Show a curated list of upcoming albums to a user",
|
||||
"version": {
|
||||
"fr": "1.2.39",
|
||||
"to": ""
|
||||
"to": "1.2.45"
|
||||
}
|
||||
},
|
||||
"PremiumOnlyModal": {
|
||||
@@ -1294,7 +1294,7 @@
|
||||
"value": "home-next-to-search",
|
||||
"version": {
|
||||
"fr": "1.2.30",
|
||||
"to": ""
|
||||
"to": "1.2.45"
|
||||
}
|
||||
},
|
||||
"VideosPremiumUpsell": {
|
||||
@@ -1851,7 +1851,7 @@
|
||||
"fr": "1.1.86",
|
||||
"to": ""
|
||||
},
|
||||
"match": "(case 6:|const .=await .\\(.,.\\);)((return .\\.abrupt\\(\"|return[ \"],?)(null!=n&&|return\",)?(.)(\\);case 9|\\??.errors\\?Promise.reject.+?errors\\):.))",
|
||||
"match": "(case 6:|const .=await .\\([^\\)]*\\);)((return .\\.abrupt\\(\"|return[ \"],?)(null!=n&&|return\",)?(.)(\\);case 9|\\??.errors\\?Promise.reject.+?errors\\):.))",
|
||||
"replace": "$1sectionBlock($5,\"{0}\");$2"
|
||||
},
|
||||
"banner_home": {
|
||||
@@ -1945,7 +1945,7 @@
|
||||
"fixTitlebarHeight": {
|
||||
"version": {
|
||||
"fr": "1.2.45",
|
||||
"to": ""
|
||||
"to": "1.2.45"
|
||||
},
|
||||
"match": "(\"update_titlebar\",height:).",
|
||||
"replace": "$1'40'"
|
||||
|
||||
9
run.ps1
9
run.ps1
@@ -369,7 +369,7 @@ if (!($version -and $version -match $match_v)) {
|
||||
}
|
||||
else {
|
||||
# Recommended version for Win 10-12
|
||||
$onlineFull = "1.2.45.454.gc16ec9f6-118"
|
||||
$onlineFull = "1.2.46.462.gf57913e0-290"
|
||||
}
|
||||
}
|
||||
else {
|
||||
@@ -1149,6 +1149,7 @@ function Helper($paramname) {
|
||||
|
||||
if ($podcasts_off) { Move-Json -n 'HomePin' -t $Enable -f $Disable }
|
||||
|
||||
# disabled broken panel from 1.2.37 to 1.2.38
|
||||
if ([version]$offline -eq [version]'1.2.37.701' -or [version]$offline -eq [version]'1.2.38.720' ) {
|
||||
Move-Json -n 'DevicePickerSidePanel' -t $Enable -f $Disable
|
||||
}
|
||||
@@ -1159,8 +1160,8 @@ function Helper($paramname) {
|
||||
|
||||
if (!($plus)) { Move-Json -n "Plus", "AlignedCurationSavedIn" -t $Enable -f $Disable }
|
||||
|
||||
if (!($topsearchbar)) {
|
||||
Move-Json -n "GlobalNavBar", "RecentSearchesDropdown" -t $Enable -f $Disable
|
||||
if (!$topsearchbar -or [version]$offline -ge [version]"1.2.46.462") {
|
||||
Move-Json -n "GlobalNavBar" -t $Enable -f $Disable
|
||||
$Custom.GlobalNavBar.value = "control"
|
||||
}
|
||||
|
||||
@@ -1314,7 +1315,7 @@ function Helper($paramname) {
|
||||
$VarJs = $webjson.VariousJs
|
||||
|
||||
|
||||
if ($topsearchbar) {
|
||||
if ($topsearchbar -or ([version]$offline -ne [version]"1.2.45.451" -and [version]$offline -ne [version]"1.2.45.454")) {
|
||||
Remove-Json -j $VarJs -p "fixTitlebarHeight"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user