Skip to content
This repository was archived by the owner on Aug 8, 2025. It is now read-only.

Commit 8270bb3

Browse files
committed
Changed update process to only require one restart
1 parent 569c00a commit 8270bb3

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

components/shellbridge.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff 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

180183
class 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():

main.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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()

0 commit comments

Comments
 (0)