1
0
Fork 0
mirror of synced 2024-06-02 02:34:40 +12:00

LaunchDialog: Make the split 75/25

This commit is contained in:
loathingKernel 2022-09-11 19:45:17 +03:00
parent cf5fd415e5
commit f7e9375964
2 changed files with 2 additions and 3 deletions

View file

@ -95,7 +95,6 @@ class App(RareApp):
self.main_window = MainWindow()
self.main_window.exit_app.connect(self.exit_app)
# self.launch_dialog.close()
if not self.args.silent:
self.main_window.show()

View file

@ -50,7 +50,7 @@ class ImageWorker(LaunchWorker):
@pyqtSlot(object)
def counter_inc(self, game: Game):
self.signals.progress.emit(
int(self.counter / self.length * 50),
int(self.counter / self.length * 75),
self.tr("Downloading image for <b>{}</b>").format(game.app_title)
)
self.counter += 1
@ -93,7 +93,7 @@ class ImageWorker(LaunchWorker):
# FIXME: incorporate installed game status checking here for now, still slow
for i, igame in enumerate(igame_list):
self.signals.progress.emit(
int(i / len(igame_list) * 50) + 50,
int(i / len(igame_list) * 25) + 75,
self.tr("Validating install for <b>{}</b>").format(igame.title)
)
if not os.path.exists(igame.install_path):