Skip to content
This repository was archived by the owner on Jul 17, 2023. It is now read-only.

Commit

Permalink
Update Install.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
abh80 authored Nov 11, 2021
1 parent fac7a9c commit 0634f30
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Install.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
param($mtoken)

Write-Output "Downloading File..."
Write-Output ""

Expand All @@ -22,7 +24,9 @@ if (Test-Path $env:USERPROFILE\.spicetify\Extensions\spotifyFullscreenCanvas.js)

Invoke-WebRequest https://raw.githubusercontent.com/abh80/Spicetify-Fullscreen-Canvas/main/spotifyFullscreenCanvas.js -OutFile $env:USERPROFILE\.spicetify\Extensions\spotifyFullscreenCanvas.js


if ($mtoken){
Add-Content $env:USERPROFILE\.spicetify\Extensions\spotifyFullscreenCanvas.js "var TOKEN = '$mtoken';"
}
Invoke-Expression "spicetify config extensions spotifyFullscreenCanvas.js"
Invoke-Expression "spicetify apply"

Expand Down

0 comments on commit 0634f30

Please sign in to comment.