1
0
Fork 0
mirror of synced 2024-05-19 03:52:47 +12:00
Commit graph

76 commits

Author SHA1 Message Date
loathingKernel 50a37be433 DownloadsTab: Remove dead code 2022-08-17 23:46:10 +03:00
loathingKernel c40fef0595 Lgndr: Transfer what DownloadThread does to install_game_real (not used yet)
DownloadThread: Refactor names to match Lgndr
2022-08-12 13:17:53 +03:00
loathingKernel 5e022e6d28 Lgndr: Rename a few fields to reflect legendary's names 2022-08-08 21:06:58 +03:00
loathingKernel 3ee789a695 Update DownloadThread 2022-08-03 02:33:50 +03:00
loathingKernel 785aaf648e GameInfo: Detect repair_and_update requirement
If a game was partially installed and it was imported
through the import functionality, if `repair_and_update`
is specified it will report `0` download size if there
is no real update to be done. Fix it by detecting the
need for an update explicitly.

This will also force games that have failed verification
to also update while repairing them, fixing the
long-standing issue of repairing an older version of a
game and then doing the update in a separate step.
2022-08-02 10:42:38 +03:00
loathingKernel 3501741c03 DownloadsTab: invalidate and recreate update widgets on import
Previously on game import, multiple update widgets for the same game
were created in the downloads tab. Instead of checking if a widget
already exists, invalidate the delete the existing and add a new one
with the current information about the installed game.
2022-08-02 10:42:38 +03:00
loathingKernel 3ecbae0564 Utils: Rename utils.py to misc.py to not confuse PyCharm checker 2022-08-02 10:42:38 +03:00
loathingKernel f51563ea93 Models: Move installation related models into their own file 2022-08-02 10:42:38 +03:00
loathingKernel 99ab488820 Pass the correct status queue and monkeypatch run_real in prepare_download 2022-08-02 10:42:38 +03:00
loathingKernel 5eb3ae7f80 Add SlidingStackedWidget from #196 2022-06-22 16:53:26 +03:00
Stelios Tsampas d6ef44b2f9
Rare: Implement global objects as functions that return a single instance 2022-02-25 20:22:45 +02:00
aznd 9b59707a10
Unify strings formatting (#158)
* Part 1: Unifying strings

* Part 2: Unifying strings

* Part 3: Unifying strings

* Fix missing close bracket

* Remove unneeded str()
2022-02-01 22:29:34 +01:00
Stelios Tsampas 8f89eb6e88
Rare: pass through Black formatter 2021-12-27 00:37:13 +01:00
Dummerle 5cd942b9e8
Fix silent mode + refactoring: move window to center, when showing window 2021-12-22 21:21:49 +01:00
Dummerle b3fb9a50e7
Don't remove update widget after reparation finished and update available 2021-12-05 20:55:45 +01:00
Dummerle 32e3d1fd55
Remove games in dl_tab, when game uninstalled. 2021-12-05 20:36:29 +01:00
Dummerle 026d5374a3
Add Multiplatform support for MacOS and Win32 2021-12-05 19:47:03 +01:00
Stelios Tsampas 4071536f84
DownloadsTab: Add static labels to current download stats 2021-12-01 16:29:22 +02:00
Stelios Tsampas 3aed7bd79c
DownloadsTab: Rename ui files to convey what they are 2021-12-01 15:33:39 +02:00
Stelios Tsampas ff39393374
DownloadsTab: Move ui to the correct location 2021-12-01 15:32:15 +02:00
Dummerle c412c91c79
Use Ui files for Download tab 2021-11-30 23:54:01 +01:00
Dummerle 1abcf16583
Add update in dl tab, when imported game, with available update 2021-11-30 23:15:00 +01:00
Dummerle 8d4f25b8c2
More Fixes and cleanup:
- downloads: fix delete_later() and set installed widget and dl progress on same value
- about: use qt requests, to avoid long startups
- fix offline mode bugs
- set TextLabels in Store invisible
- fix origin launch
- remove unused files
2021-11-28 00:50:02 +01:00
Dummerle 0c5bd642e3
More fixes:
- remove widgets in dl tab after uninstalling
- fix verification error: worker was not started
2021-11-22 20:09:05 +01:00
Dummerle 72d05f6e53
Some optimization for macOS + workflow; cancel launch if confirm is activated; enable button, if queue widget deleted 2021-11-22 20:04:24 +01:00
Stelios Tsampas ad2d3016dd
DownloadsTab: Wrap updates and queue in a common scrollare 2021-11-22 20:58:50 +02:00
Dummerle b0125ba020
Many optimizations, bug fixes and other small fixes 2021-11-13 00:34:35 +01:00
Dummerle 8627484097
update_list() in games/__init__.py takes now a list of app_names, to update multiple games at same time
- verification signal is now connected
- signals are more consistent. Taking app_names instead of Game Models
2021-11-03 18:33:01 +01:00
Dummerle e994100182
Fix wrong connected signal in sync_widget.py 2021-10-18 00:20:41 +02:00
Dummerle 803347b935
Enable Update buttons, when stopping download.
Fix bug with launch subparser if app_name not exists
2021-10-18 00:08:35 +02:00
MultisampledNight dcaae46649
Fix crash in Downloads tab while startup 2021-10-15 15:27:20 +02:00
Dummerle a5f26c8a23 Rename shared.legendary_core to core 2021-10-14 23:18:13 +02:00
Dummerle 4f25fd8a20 Update new Signal System 2021-10-14 23:05:00 +02:00
Dummerle 3bf6692760 Add shared.py 2021-10-07 20:19:24 +02:00
Dummerle 3796db83c1 Fix updates; Fix dlc tab; Fix Game list update 2021-10-07 19:42:27 +02:00
Dummerle 22e51e096f Fix bug after download finished 2021-10-04 21:51:25 +02:00
Dummerle 4b5a0b0084 Add a new signal system 2021-09-29 23:22:47 +02:00
Dummerle d11cc7abf3 add legendary submodule and rename custom_legendary to legendary in imports 2021-09-06 21:10:18 +02:00
Dummerle 134c06a726 Update translation and remove notify-py as dependency 2021-09-01 22:12:27 +02:00
Dummerle b3cc412142 Add an installing game widget to icon list 2021-08-28 00:16:17 +02:00
Dummerle 363fda6d5e Fix download bugs 2021-08-17 16:05:00 +02:00
Dummerle 96806274f9 Some fixes: Update gamelist; dl_tab.finished; AppImageBuilder.yml; install_dialog: auto verify 2021-08-16 20:41:33 +02:00
Stelios Tsampas 9a307856f6 Ensure the result signal has been connected 2021-05-26 15:40:23 +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 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 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 432cdede3a Add logir buttons with functions; optimize repair 2021-05-22 20:28:50 +02:00