thank you @alixti
This commit is contained in:
Julien 2021-12-13 16:43:50 +01:00 committed by GitHub
parent e2e6214159
commit 48c475ee9a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,3 +1,6 @@
Get-Process -Name Spotify -ErrorAction SilentlyContinue | Stop-Process -Force
Get-Process -Name SpotifyWebHelper -ErrorAction SilentlyContinue | Stop-Process -Force
$sp = "$env:APPDATA\Spotify\Spotify.exe"
Copy-Item $sp ($sp + ".backup")
@ -21,4 +24,4 @@ for ($i = 0; $i -lt $bytes.Length; $i++) {
}
}
[System.IO.File]::WriteAllBytes($sp, $bytes);
[System.IO.File]::WriteAllBytes($sp, $bytes);