1
0
Fork 0
mirror of synced 2024-06-28 03:00:49 +12:00
Commit graph

229 commits

Author SHA1 Message Date
Dummerle 0246b96c40 Fix offline mode 2021-06-12 00:29:55 +02:00
Dummerle 838783c1fb Show error message and warnings after core.prepare_download 2021-06-07 15:42:49 +02:00
Dummerle 21e3478c1b Delete dialogs on close 2021-06-03 23:33:36 +02:00
Stelios Tsampas 9a307856f6 Ensure the result signal has been connected 2021-05-26 15:40:23 +03:00
Stelios Tsampas 5b2cc055ff Close at the correct signals 2021-05-25 23:52:25 +03:00
Stelios Tsampas 0200347e72 Convert InstallDialog to modeless so it doesn't block the main UI any more. 2021-05-25 23:52:25 +03:00
Stelios Tsampas c1d5c98945 Disable cancel button when thread is running. 2021-05-25 23:52:25 +03:00
Stelios Tsampas e019c2ab7e Don't disable cancel button, wait for thread instead. 2021-05-25 23:52:25 +03:00
Stelios Tsampas fd84065fcb Add verify button to not block on every change.
Add some behavioral safeguards until thread can be stopped.
2021-05-25 23:52:25 +03:00
Stelios Tsampas 181636f2be Connect all widgets to the get_download_info function. 2021-05-25 23:52:25 +03:00
Stelios Tsampas b0ec5c5fcb Move all download preparations inside InstallDialog.
InstallDialog now returns a InstallQueueItemModel ready
to be downloaded or queued.

Renamed a few model attributes to match legendary's names.

InstallDialog can be run silently for auto-downloads.
2021-05-25 23:52:25 +03:00
Stelios Tsampas 376d3e0eba Don't use global threadpool as it gets deleted when exiting the dialog
Woops...
2021-05-25 23:52:25 +03:00
Stelios Tsampas 148cf0ff8e Add models for the download queue.
The addition of download_only option broke the download queue
due to different positional arguments and tuple indices. Since
using indices is awkward, models to represent the download
and each item in the queue itself were added.
2021-05-25 23:52:25 +03:00
Stelios Tsampas 494e078522 Fix remaining issues with the install dialog.
* Fix race condition between the sdl checkboxes.
* Fix default tag not been included in the list of tags.
* Delete InstallDialog on close.
* Specify parent for InstallDialog.
2021-05-25 23:52:25 +03:00
Stelios Tsampas 1131edda20 Add selective downloads 2021-05-25 23:52:25 +03:00
Stelios Tsampas 5ccf73d737 Update install dialog and remove the extraneous install info dialog 2021-05-25 23:52:25 +03:00
Dummerle 2e148aebff Add protondb grades and option to disable it 2021-05-21 13:09:26 +02:00
Dummerle d50ccc6e55 Add option for download only 2021-05-20 23:00:38 +02:00
Dummerle df726c0c57 Merge remote-tracking branch 'origin/dev' into dev
# Conflicts:
#	rare/components/tabs/games/game_info/__init__.py
2021-05-19 11:51:04 +02:00
Dummerle a129556441 Add basic structure for downloading grades 2021-05-19 11:06:00 +02:00
Stelios Tsampas 748d51f31f Improve PathEdit a bit more
Add placeholder text
Remove some unused variables
Open dialog starting from path if set
2021-05-18 01:57:20 +03:00
Dummerle 6deabf4a92 Reformatting, 1.3.0 2021-04-22 14:34:06 +02:00
Dummerle 497a6009d0 Add offline mode and --offline option 2021-04-19 15:44:28 +02:00
Dummerle c1251ac4c6 Install_dlc: Use base_game_path 2021-04-16 23:41:59 +02:00
Dummerle 709b4dcc8d Fix Launch Progressbar 2021-04-16 18:56:33 +02:00
Dummerle 93acab85c0 Add support for DLCs 2021-04-16 17:48:24 +02:00
Dummerle 14bd150e5f Install: Use default values from config 2021-04-15 16:09:17 +02:00
Dummerle 56550ba5a4 Hide launch_dialog.py on login; Better compare version numbers 2021-04-09 13:00:40 +02:00
BuildTools 665083c5b5 lowercase snake case 2021-04-07 22:39:23 +02:00