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

Commit a282d01

Browse files
committed
Added message to clarify update blocker is broken
1 parent d145441 commit a282d01

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

manager_window.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import os
55
import sys
66
import subprocess
7-
from PyQt6.QtWidgets import QMainWindow, QErrorMessage
7+
from PyQt6.QtWidgets import QMainWindow, QErrorMessage, QMessageBox
88
from PyQt6.QtCore import Qt
99
from PyQt6.uic import loadUi
1010
from components.shellbridge import InstallSpicetify, UpdateSpicetify, UninstallSpicetify, CustomCommand, getLatestRelease,checkApplied,checkSpotifyRunning
@@ -26,15 +26,17 @@ def __init__(self):
2626
self.bt_update.clicked.connect(self.startUpdate)
2727
self.bt_uninstall.clicked.connect(self.startRemoval)
2828
self.bt_cmd.clicked.connect(self.Custom)
29+
self.check_noupdate.stateChanged.connect(self.debug)
2930

3031
self.checkSpicetify()
3132

3233
# currently debug only
3334
def debug(self):
34-
if (checkSpotifyRunning()):
35-
dialog = Popup(self)
36-
dialog.exec()
37-
35+
#display dialog with info text
36+
message_box = QMessageBox()
37+
message_box.setText("This function is not ready yet! Were sorry")
38+
message_box.setWindowTitle("Information")
39+
message_box.exec()
3840
#Update user about progress while installing spicetify
3941
def progressmaster(self, action):
4042
if (action == "fail"):

res/manager.ui

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,7 @@ QPushButton:pressed
570570
<string>Run spicetify cli command</string>
571571
</property>
572572
</widget>
573-
<widget class="QCheckBox" name="checkBox">
573+
<widget class="QCheckBox" name="check_noupdate">
574574
<property name="geometry">
575575
<rect>
576576
<x>20</x>

0 commit comments

Comments
 (0)