Commit Graph
4 Commits
Author SHA1 Message Date
Kinsteen d95c28f0f7 fix: critical error when not using a Nvidia GPU (#2535)
This removes the error when non NVIDIA GPU users would get an error and warning that NVIDIA related files were not found
2023-01-14 19:30:37 -05:00
Kinsteen 80386bda1c fix: nvngx.dll not copied under Flatpak, UI consistency (#2495) 2023-01-14 11:43:23 -05:00
Mirko BrombinandKinsteen 01732b1a91 backend: General performance improvements and code cleanup
This commit is the first of many to avoid the back-end rewrite.


* document Result object

* document Diff class

* remove layered env code

* remove Notifications since deprecated

* fix method name (PEP8)

* add convenient method to force kill wineserver when stalled

* use force_f_stalled in runner

* use Result obj in Downloader.download

* handle the Result obj in ComponentManager.download

* code cleanup

* remove old RunnerName type

* remove old note

repositories can now instruct this changes

* code cleanup

* code cleanup

* code cleanup

* code cleanup

* new trailing newline

* extend __validate_template method with essential paths

* code cleanup

* improve offline check

the old method was too slow, the new one just checks the headers with curl, which is much faster

* remove deprecations and old migrations

* fixes #2345

* fix typo

Co-authored-by: Kinsteen <pitiqui69@gmail.com>

* fix exception string

* remove cabextract binary check

since it's already done in health.py

* remove reportMissingImports

useless now since the main package moved from src to bottles

* add PycURL

* replace urllib with pycurl in crucial points

Co-authored-by: Kinsteen <pitiqui69@gmail.com>
2022-12-12 20:23:15 +01:00
mirkobrombin 72667c7b29 split backend/frontend modules
work in progress, the backend still access some frontend stuffs
2022-08-07 23:09:46 +02:00