Skip to content

Commit

Permalink
Added psutil in setup.py, some small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Dummerle committed Apr 11, 2021
1 parent 71cdb54 commit 192487e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
include README.md
include rare/languages/de.qm
include rare/languages/*.qm
include rare/styles/*
2 changes: 1 addition & 1 deletion rare/__init__.py
Original file line number Diff line number Diff line change
@@ -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/")
6 changes: 3 additions & 3 deletions rare/components/tray_icon.py
Original file line number Diff line number Diff line change
@@ -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")

Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,6 @@
"PyQt5",
"QtAwesome",
"notify-py",
"psutil"
],
)

0 comments on commit 192487e

Please sign in to comment.