How can I create an autorun script for my PowerShell Spicetify installation?

0
10
Asked By CuriousCat42 On

I'm looking for a way to create a simple file that automatically runs a PowerShell script for Spicetify. I'm not very experienced with this kind of stuff and honestly, I'm lost on where to begin! Basically, I have this script: `iwr -useb https://raw.githubusercontent.com/spicetify/cli/main/install.ps1 | iex`, but the issue is that it keeps uninstalling itself every week. I really want to avoid having to run this manually all the time, so any guidance would be appreciated!

3 Answers

Answered By LazyCoder123 On

If your main goal is convenience, automating everything with Task Scheduler or a batch file is definitely the way to go. Just remember to update your script as needed whenever there are Spotify updates, or you might run into the same issues again.

Answered By PowerShellPro On

Another way to handle this is by using Task Scheduler. You can set it up to run your installation script daily or weekly, which might help you avoid having to remember to run it constantly. Just create a scheduled task that points to your batch file, and let it automatically manage your Spicetify installation for you.

Answered By TechGuru99 On

It sounds like Spotify is interfering with your installation since it uninstalls itself weekly. If you want a more permanent solution, you might consider creating a batch file. You can run a command like `PowerShell.exe -executionpolicy bypass -file yourscript.ps1` to automatically execute your installation script. You can put this batch file right on your desktop for easy access, and run it whenever you need to reinstall after an update. You might also want to check your startup entries to see if there's a way to automate it further!

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.