mirror of
https://github.com/SpotX-Official/SpotX.git
synced 2026-06-19 22:00:04 +10:00
Обновление путей установочного кэша
This commit is contained in:
+3
-2
@@ -132,10 +132,11 @@ if (-not $spotifyInstalled) {
|
|||||||
|
|
||||||
$ErrorActionPreference = 'SilentlyContinue' # Команда гасит легкие ошибки
|
$ErrorActionPreference = 'SilentlyContinue' # Команда гасит легкие ошибки
|
||||||
|
|
||||||
if ($win7) {
|
# Удалить инсталятор после установки
|
||||||
|
if ($win8 -or $win7) {
|
||||||
get-childitem -path "$env:LOCALAPPDATA\Microsoft\Windows\Temporary Internet Files\" -Recurse -Force -Filter "SpotifyFullSetup*" | remove-item -Force
|
get-childitem -path "$env:LOCALAPPDATA\Microsoft\Windows\Temporary Internet Files\" -Recurse -Force -Filter "SpotifyFullSetup*" | remove-item -Force
|
||||||
}
|
}
|
||||||
if ($win10) {
|
if ($win11 -or $win10 -or $win8_1) {
|
||||||
get-childitem -path "$env:LOCALAPPDATA\Microsoft\Windows\INetCache\" -Recurse -Force -Filter "SpotifyFullSetup*" | remove-item -Force
|
get-childitem -path "$env:LOCALAPPDATA\Microsoft\Windows\INetCache\" -Recurse -Force -Filter "SpotifyFullSetup*" | remove-item -Force
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user