Added psutil in setup.py, some small changes
This commit is contained in:
parent
71cdb54b38
commit
192487ea0d
|
@ -1,3 +1,3 @@
|
|||
include README.md
|
||||
include rare/languages/de.qm
|
||||
include rare/languages/*.qm
|
||||
include rare/styles/*
|
|
@ -1,5 +1,5 @@
|
|||
import os
|
||||
|
||||
__version__ = "1.0"
|
||||
__version__ = "1.0.0"
|
||||
style_path = os.path.join(os.path.dirname(__file__), "styles/")
|
||||
lang_path = os.path.join(os.path.dirname(__file__), "languages/")
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
from PyQt5.QtCore import QCoreApplication
|
||||
from PyQt5.QtGui import QIcon
|
||||
from PyQt5.QtWidgets import QSystemTrayIcon, QMenu, QAction
|
||||
from qtawesome import icon
|
||||
from rare import style_path
|
||||
|
||||
|
||||
class TrayIcon(QSystemTrayIcon):
|
||||
def __init__(self, parent):
|
||||
super(TrayIcon, self).__init__(parent)
|
||||
self.setIcon(icon("fa.gamepad", color="white")) # TODO change icon to logo
|
||||
self.setIcon(QIcon(style_path+"Logo.png"))
|
||||
self.setVisible(True)
|
||||
self.setToolTip("Rare")
|
||||
|
||||
|
|
Loading…
Reference in a new issue