mirror of
https://github.com/SpotX-Official/SpotX.git
synced 2026-06-20 14:10:54 +10:00
Delete leveldb folder
- Fixes bug with incorrect experimental features for some accounts
This commit is contained in:
@@ -224,6 +224,14 @@ if (-not $spotifyInstalled -or $upgrade_client) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Delete the leveldb folder (Fixes bug with incorrect experimental features for some accounts)
|
||||||
|
$leveldb = (Test-Path -LiteralPath "$spotifyDirectory2\Browser\Local Storage\leveldb")
|
||||||
|
|
||||||
|
if ($leveldb) {
|
||||||
|
$ErrorActionPreference = 'SilentlyContinue'
|
||||||
|
remove-item "$spotifyDirectory2\Browser\Local Storage\leveldb" -Recurse -Force
|
||||||
|
}
|
||||||
|
|
||||||
# Create backup chrome_elf.dll
|
# Create backup chrome_elf.dll
|
||||||
if (!(Test-Path -LiteralPath $chrome_elf_bak)) {
|
if (!(Test-Path -LiteralPath $chrome_elf_bak)) {
|
||||||
Move-Item $chrome_elf $chrome_elf_bak
|
Move-Item $chrome_elf $chrome_elf_bak
|
||||||
|
|||||||
@@ -224,6 +224,14 @@ if (-not $spotifyInstalled -or $upgrade_client) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Удалите папку leveldb (исправляет баг неверных эксперементальных фишек для некотрых аккаунтов)
|
||||||
|
$leveldb = (Test-Path -LiteralPath "$spotifyDirectory2\Browser\Local Storage\leveldb")
|
||||||
|
|
||||||
|
if ($leveldb) {
|
||||||
|
$ErrorActionPreference = 'SilentlyContinue'
|
||||||
|
remove-item "$spotifyDirectory2\Browser\Local Storage\leveldb" -Recurse -Force
|
||||||
|
}
|
||||||
|
|
||||||
# Создать резервную копию chrome_elf.dll
|
# Создать резервную копию chrome_elf.dll
|
||||||
if (!(Test-Path -LiteralPath $chrome_elf_bak)) {
|
if (!(Test-Path -LiteralPath $chrome_elf_bak)) {
|
||||||
Move-Item $chrome_elf $chrome_elf_bak
|
Move-Item $chrome_elf $chrome_elf_bak
|
||||||
|
|||||||
Reference in New Issue
Block a user