-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdebug_main.py
More file actions
32 lines (23 loc) · 782 Bytes
/
debug_main.py
File metadata and controls
32 lines (23 loc) · 782 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/usr/bin/env python3
"""
Debug version of main.pyw to see console output
"""
import sys
import os
sys.path.append(os.path.dirname(os.path.abspath(__file__)))
from main import DiscordMessageManager
def main():
print("=== DM Cleaner Debug Mode ===")
print("Discord RPC test başlatılıyor...")
# Create the main window
app = QApplication(sys.argv)
window = DiscordMessageManager()
print("Ana pencere oluşturuldu")
print("Discord RPC durumu:", window.rpc_connected)
window.show()
print("Uygulama başlatıldı - Discord'da aktiviteyi kontrol edin")
print("Uygulamayı kapatmak için pencereyi kapatın")
sys.exit(app.exec())
if __name__ == "__main__":
from PyQt6.QtWidgets import QApplication
main()