mirror of
https://github.com/danbulant/dribbblish-dynamic-theme
synced 2026-06-18 14:11:22 +00:00
parent
e2e6214159
commit
48c475ee9a
1 changed files with 4 additions and 1 deletions
|
|
@ -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"
|
$sp = "$env:APPDATA\Spotify\Spotify.exe"
|
||||||
Copy-Item $sp ($sp + ".backup")
|
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);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue