Skip to content

Commit

Permalink
Upgrade to PyQt6
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesewe authored Oct 29, 2024
1 parent 4c28765 commit 90398f2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
13 changes: 6 additions & 7 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
import time
import threading
import psutil
from PyQt5 import QtWidgets
from PyQt5.QtCore import Qt, QTimer
from PyQt5.QtWidgets import QMainWindow, QPushButton, QLabel, QLineEdit, QTextEdit, QCheckBox, QVBoxLayout, QHBoxLayout, QWidget, QMessageBox
from PyQt5.QtGui import QIcon
from PyQt6 import QtWidgets
from PyQt6.QtCore import Qt, QTimer
from PyQt6.QtWidgets import QMainWindow, QPushButton, QLabel, QLineEdit, QTextEdit, QCheckBox, QVBoxLayout, QHBoxLayout, QWidget, QMessageBox
from PyQt6.QtGui import QIcon
from pynput.mouse import Controller, Button, Listener
from requests import get
from random import uniform
Expand Down Expand Up @@ -151,7 +151,7 @@ def fetch_offsets():
return None, None

class CS2TriggerBot:
VERSION = "v1.1.3"
VERSION = "v1.1.4"

def __init__(self, offsets, client_data):
self.config = ConfigManager.load_config()
Expand Down Expand Up @@ -287,7 +287,6 @@ class MainWindow(QMainWindow):
def __init__(self):
super().__init__()
self.setWindowTitle(f"CS2 TriggerBot | github.com/Jesewe/cs2-triggerbot")
self.setGeometry(100, 100, 700, 500)
self.setFixedSize(700, 500)
self.setStyleSheet("background-color: #111111; color: #f0f0f0; font-family: Arial; font-size: 16px; font-weight: bold;")

Expand Down Expand Up @@ -514,4 +513,4 @@ def update_log_output(self):
app = QtWidgets.QApplication(sys.argv)
main_window = MainWindow()
main_window.show()
sys.exit(app.exec_())
sys.exit(app.exec())
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ requests
packaging
psutil
watchdog
PyQt5
PyQt6

0 comments on commit 90398f2

Please sign in to comment.