diff --git a/.gitignore b/.gitignore index a6a8c685..1313c827 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /build/ /dist/ /Rare.egg-info/ +/RareBuild.sh diff --git a/README.md b/README.md index eb353c3b..4f27b305 100644 --- a/README.md +++ b/README.md @@ -4,8 +4,11 @@ Rare is currently considered beta software and in no way feature-complete. You **will** run into issues, so make backups first! ### Requirements - - requests, pillow and pyqt5 installed via PyPI - - Legendary installed via PyPI + - requests, + - pillow + - pyqt5 + - legendary-gl + - PyQtWebengine ### Usage When you run Rare, it'll check if you're currently logged in and walk you through logging in if you aren't. @@ -15,9 +18,19 @@ Rare is currently considered beta software and in no way feature-complete. You * - Launch, install and uninstall games - Authentication(Import from existing installation and via Browser)**(Please test it!)** - In-app Browser to buy games +- Settings ### Todos - Sync saves - ... + +### Images + +![alt text](https://github.com/Dummerle/Rare/blob/master/Screenshots/GameList.png?raw=true) +![alt text](https://github.com/Dummerle/Rare/blob/master/Screenshots/Uninstalled.png?raw=true) +![alt text](https://github.com/Dummerle/Rare/blob/master/Screenshots/Settings.png?raw=true) + + + If you have features you want to have in this app, create an issue on github or build it yourself. Please report bugs(Especially Windows) diff --git a/Rare/Tabs/GamesInstalled/InstalledList.py b/Rare/Tabs/GamesInstalled/InstalledList.py index 3c445ebd..d3516f6a 100644 --- a/Rare/Tabs/GamesInstalled/InstalledList.py +++ b/Rare/Tabs/GamesInstalled/InstalledList.py @@ -57,7 +57,9 @@ class GameListInstalled(QScrollArea): available_drives = ['%s:' % d for d in string.ascii_uppercase if os.path.exists('%s:' % d)] for drive in available_drives: path = f"{drive}/Program Files/Epic Games/" - self.auto_import_games(path) + if os.path.exists(path): + self.auto_import_games(path) + else: possible_wineprefixes = [os.path.expanduser("~/.wine/"), os.path.expanduser("~/Games/epic-games-store/")] for wine_prefix in possible_wineprefixes: @@ -68,7 +70,9 @@ class GameListInstalled(QScrollArea): def auto_import_games(self, game_path): if not os.path.exists(game_path): return - + if os.listdir(game_path) == 0: + logger.info(f"No Games found in {game_path}") + return for path in os.listdir(game_path): json_path = game_path + path + "/.egstore" print(json_path) diff --git a/Rare/utils/Dialogs/ImportDialog.py b/Rare/utils/Dialogs/ImportDialog.py index 27f7cd78..b9f558d3 100644 --- a/Rare/utils/Dialogs/ImportDialog.py +++ b/Rare/utils/Dialogs/ImportDialog.py @@ -30,6 +30,7 @@ class ImportDialog(QDialog): def button_click(self): if self.import_game(): + QMessageBox.about(self, "Info", "Please restart App to reload installed Games") self.close() else: self.info_text.setText("Failed to import Game")