This repository was archived by the owner on Aug 8, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,10 @@ def run(self):
5151 print ("Update started" )
5252 try :
5353 self .progress_signal .emit ("Auto Updating..." )
54- subprocess .run ('spicetify update -q -n' , shell = True , check = True )
54+ # subprocess.run('spicetify update -q -n', shell=True, check=True)
55+ subprocess .run ('spicetify restore -q -n' , shell = True , check = True )
56+ subprocess .run ('spicetify upgrade -q -n' , shell = True , check = True )
57+ subprocess .run ('spicetify apply -q -n' , shell = True , check = True )
5558 self .progress_signal .emit ("done" )
5659 except Exception as e :
5760 self .progress_signal .emit ("fail" )
@@ -178,6 +181,7 @@ def blockSpotifyUpdate(active):
178181
179182
180183class RestartSpotify (QThread ):
184+ # Warning this will probably replaced with spicetify restart in the future!
181185 def run (self ):
182186 print ("Restarting Spotify" )
183187 if checkSpotifyRunning ():
Original file line number Diff line number Diff line change @@ -354,6 +354,7 @@ def setup_finished(self):
354354
355355 # Called when spicetify is updated
356356 def update_finished (self ):
357+ windowsToast ("Spicetify update process completed!" , "" )
357358 if not self .isNeverRestarting :
358359 self .iprocess = RestartSpotify ()
359360 self .iprocess .start ()
You can’t perform that action at this time.
0 commit comments