1
0
Fork 0
mirror of synced 2024-05-16 02:22:57 +12:00

Small fixes for release

This commit is contained in:
Dummerle 2021-03-11 13:11:15 +01:00
parent a051d9138a
commit 40b0867eef
5 changed files with 9 additions and 7 deletions

View file

@ -1,3 +1,3 @@
include README.md
include Rare/languages/de.qm
include Rare/languages/*.qm
include Rare/Styles/*

View file

@ -1,10 +1,10 @@
from PyQt5.QtCore import QSize
from PyQt5.QtGui import QIcon, QFont
from PyQt5.QtGui import QFont
from PyQt5.QtWidgets import QTabWidget, QTabBar, QWidget, QToolButton, QWidgetAction, QMenu
from legendary.core import LegendaryCore
from qtawesome import icon
from Rare import style_path
# from Rare.Components.Tabs.Account.AccountWidget import MiniWidget
from Rare.Components.Tabs.Account.AccountWidget import MiniWidget
from Rare.Components.Tabs.Downloads.DownloadTab import DownloadTab
from Rare.Components.Tabs.Games.GamesTab import GameTab
@ -27,9 +27,10 @@ class TabWidget(QTabWidget):
self.downloadTab.finished.connect(self.game_list.default_widget.game_list.update_list)
self.game_list.default_widget.game_list.install_game.connect(lambda x: self.downloadTab.install_game(x))
self.game_list.game_info.info.verify_game.connect(lambda app_name: self.downloadTab.install_game(InstallOptions(app_name, core.get_installed_game(app_name).install_path, repair=True)))
self.game_list.game_info.info.verify_game.connect(lambda app_name: self.downloadTab.install_game(
InstallOptions(app_name, core.get_installed_game(app_name).install_path, repair=True)))
self.tabBarClicked.connect(lambda x: self.game_list.layout.setCurrentIndex(0) if x==0 else None)
self.tabBarClicked.connect(lambda x: self.game_list.layout.setCurrentIndex(0) if x == 0 else None)
# Commented, because it is not finished
# self.cloud_saves = SyncSaves(core)

View file

View file

@ -1,5 +1,5 @@
import os
__version__ = "0.4.0"
__version__ = "0.9.0"
style_path = os.path.join(os.path.dirname(__file__), "Styles/")
lang_path = os.path.join(os.path.dirname(__file__), "languages/")

View file

@ -29,6 +29,7 @@ setuptools.setup(
"requests<3.0",
"pillow",
"setuptools",
"wheel"
"wheel",
"QtAwesome"
]
)