From 74acfbf4aa6bb1095a9e02102a86b3871012375f Mon Sep 17 00:00:00 2001 From: amd64fox <62529699+amd64fox@users.noreply.github.com> Date: Sun, 2 Jun 2024 12:10:56 +0300 Subject: [PATCH] return device picker to the right panel --- patches/patches.json | 2 +- run.ps1 | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/patches/patches.json b/patches/patches.json index fbb0880..b5928b0 100644 --- a/patches/patches.json +++ b/patches/patches.json @@ -923,7 +923,7 @@ "native_description": "Enables Device Picker as a side panel", "version": { "fr": "1.2.30", - "to": "1.2.36" + "to": "" } }, "Otfn": { diff --git a/run.ps1 b/run.ps1 index a761e59..c8d451c 100644 --- a/run.ps1 +++ b/run.ps1 @@ -1159,6 +1159,10 @@ function Helper($paramname) { if ($enhance_playlist_off) { Remove-Json -j $Enable -p 'EnhancePlaylist' } + 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 + } + if ($enhanceSongs -and [version]$offline -le [version]'1.2.25.1011') { Move-Json -n 'SmartShuffle' -t $Enable -f $Disable }